globals
integer array udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3
button array udg_M9P2QS7U5l4V5W9O45lO7041D2G5K3
unit array udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3
integer array udg_M9P2Q7U5314V5W9O45lO7041D2G5K3
rect array udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO7041DE2G5K3
integer array udg_M9P22Q7U5l4V5W9O45lO7041D2G5K3
timer array udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3
timerdialog array udg_M9P2Q7U5l4V5W9O45lO7041D2GO5K3
integer array udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO7D041D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO70S41D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3
integer array udg_M9P2Q7UD5l4V5W9O45lO704DD2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3
integer array udg_M9P2Q7U5l4V5W9O45lOD7041D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3
button array udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3
dialog array udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3
integer array udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3
unit array udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3
integer array udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3
string array udg_M9P2Q7U5l4V5W9O45lO7041SD2G5K3
location array udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3
string array udg_M9P2Q7U5l34V5W9O45lO7041D2G5K3
item array udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3
integer array udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3
unit udg_M9P2Q7U5l4V5W9OB45lO7041D2G5K3=null
integer udg_unit_key=0
sound array udg_M9P2Q7U5l4V5W9O45lO7J041D2G5K3
unit array udg_M9P2Q7U5l4V35W9O45lO7041D2G5K3
rect array udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37
integer array udg_M9P2Q7U5l4V5W9O45lO704N1D2G5K3
unit array udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3
location array udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3
real array udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3
integer udg_M9P2Q7U5l4V51W9O45lO7041D2G5K3=0
unit array udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3
integer udg_M9P2Q7U5l4V5W9O45lO37041D2G5K3=0
unit array udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3
location array udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3
group array udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33
real array udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3
unit array udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3
location array udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h
real array udg_M9P2Q7U5l4V5W9O45l3O7041D2G5K3
integer array udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3
itempool array udg_M9P2Q7U5l4V5W9DO45lO7041D2G5K3
real array udg_M9P2Q7U5l4V5W9O45lO704M1D2G5K3
group udg_M9P2Q7USBF4V5W9O45lO7041D2G5K3=null
real udg_M9P2Q7U5l4V5W9O45lO70N41D2G5K3=0
item array udg_M9P2Q7USUl4V5W9O45lO7041D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32
real array udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3
string array udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3
integer udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3=0
integer array udg_M9P2Q7U5l4V5W9O45l6O7041D2G5K3
integer array udg_M9P2Q7U5l4V5WD9O45lO7041D2G5K3
unit array udg_M9P2Q7U5l4V5W9O45lO97041D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO77041D2G5K3
timer array udg_M9P2Q7U5l4V5W9O45lO7041DT2G5K3
location array udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3
integer array udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3
integer array udg_M9P2Q7U5lC4V5W9O45lO7041D2G5K3
location array udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3
integer array udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3
unit array udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO7041D2GJ5K3
integer array udg_M9P2Q7U5lV4V5W9O45lO7041D2G5K3
trigger array udg_M9P2Q7U5l4V5WX9O45lO7041D2G5K3
integer array udg_M9P2Q7CU5l4V5W9O45lO7041D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO704S1D2G5K3
integer array udg_M9P2Q7XU5l4V5W9O45lO7041D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO7M041D2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3
integer array udg_M9P2Q7U5l4V5W9O45lO7041D2PG5K3
rect gg_rct_GoBack01=null
rect gg_rct_GoBack02=null
rect gg_rct_GoBack03=null
rect gg_rct_GoBack04=null
rect gg_rct_GoBack05=null
rect gg_rct_Ogre_Shu=null
rect gg_rct_SEC______00A=null
rect gg_rct_SEC______00B=null
rect gg_rct_SEC______01=null
rect gg_rct_SEC______02=null
rect gg_rct_SEC______03=null
rect gg_rct_SEC______04=null
rect gg_rct_SEC______05=null
rect gg_rct_SEC______06=null
rect gg_rct_______Second01=null
rect gg_rct_______Baowu01=null
rect gg_rct_______Baowu02=null
rect gg_rct_______Baowu03=null
rect gg_rct_______Baowu04=null
rect gg_rct_______Baowu05=null
rect gg_rct_______Map=null
rect gg_rct_______Road001=null
rect gg_rct_______Road002=null
rect gg_rct_______Road003=null
rect gg_rct_______Road004=null
rect gg_rct_______Road005=null
rect gg_rct_______Road006=null
rect gg_rct_______Road007=null
rect gg_rct_______Road008=null
rect gg_rct_______Road009=null
rect gg_rct_______ShowHero=null
rect gg_rct_______Start1=null
rect gg_rct_______Start2=null
rect gg_rct_______Start3=null
rect gg_rct_______Start4=null
rect gg_rct_______Test01=null
rect gg_rct_______Test02=null
rect gg_rct______________020=null
rect gg_rct______________021=null
rect gg_rct______________022=null
rect gg_rct______________026=null
rect gg_rct______________028=null
sound gg_snd_BansheePissed5=null
sound gg_snd_BansheeWarcry1=null
sound gg_snd_BansheeWhat2=null
sound gg_snd_BansheeYesAttack1=null
sound gg_snd_BansheeYesAttack2=null
sound gg_snd_BansheeYesAttack3=null
sound gg_snd_CryptLordAttackEffort1=null
sound gg_snd_CryptLordAttackEffort2=null
string gg_snd_Music01
sound gg_snd_NerubianCryptLordPissed1=null
sound gg_snd_NerubianCryptLordPissed4=null
sound gg_snd_NerubianCryptLordReady1=null
sound gg_snd_NerubianCryptLordWarcry1=null
sound gg_snd_NerubianCryptLordYes5=null
sound gg_snd_NerubianCryptLordYesAttack1=null
sound gg_snd_NerubianCryptLordYesAttack2=null
sound gg_snd_Sound01=null
sound gg_snd_Sound02=null
sound gg_snd_Sound03=null
sound gg_snd_Sound04=null
sound gg_snd_TichondriusPissed2=null
sound gg_snd_TichondriusWarcry1=null
sound gg_snd_TichondriusWhat3=null
sound gg_snd_TichondriusYesAttack1=null
sound gg_snd_TichondriusYesAttack2=null
sound gg_snd_TichondriusYesAttack3=null
sound gg_snd_VarimathrasPissed5=null
sound gg_snd_VarimathrasPissed6=null
sound gg_snd_VarimathrasWarcry1=null
sound gg_snd_VarimathrasYes1=null
sound gg_snd_VarimathrasYesAttack1=null
sound gg_snd_VarimathrasYesAttack3=null
sound gg_snd_Rescue=null
sound gg_snd_QuestNew=null
sound gg_snd_Sound06=null
sound gg_snd_BattleNetDoorsStereo2=null
sound gg_snd_UtherReturns=null
sound gg_snd_Sec01=null
sound gg_snd_Sound07=null
sound gg_snd_SargerasLaugh=null
sound gg_snd_Sound05=null
trigger gg_trg________________u=null
trigger gg_trg_multiboard2=null
trigger gg_trg_BeiBao2A=null
trigger gg_trg_BeiBao2B=null
trigger gg_trg_Miji=null
trigger gg_trg_help=null
trigger gg_trg_GongZi=null
trigger gg_trg_GongZi2=null
trigger gg_trg_GongZi3=null
trigger gg_trg_PlayerInput=null
trigger gg_trg_PlayerKill=null
trigger gg_trg_PlayerLeave=null
trigger gg_trg_SBBB=null
trigger gg_trg_AI01=null
trigger gg_trg_AI02=null
trigger gg_trg_AI03=null
trigger gg_trg_AI04=null
trigger gg_trg_OgreAdd=null
trigger gg_trg_OgreAdd2=null
trigger gg_trg_OgreAdd4=null
trigger gg_trg_OgreDie=null
trigger gg_trg_HeroUP=null
trigger gg_trg_HeroUP2=null
trigger gg_trg_HeroUP3=null
trigger gg_trg_HeroRelive=null
trigger gg_trg_HeroReliveSelect=null
trigger gg_trg_ZhongLi=null
trigger gg_trg_BossA=null
trigger gg_trg_BossB=null
trigger gg_trg_BossC=null
trigger gg_trg_BossBaWu=null
trigger gg_trg_BossNew=null
trigger gg_trg_XH=null
trigger gg_trg_XH2=null
trigger gg_trg_PieYingSet=null
trigger gg_trg_PieYing=null
trigger gg_trg_PetA1=null
trigger gg_trg_PetA2=null
trigger gg_trg_PetB1=null
trigger gg_trg_PetB2=null
trigger gg_trg_PetC1=null
trigger gg_trg_PetD1=null
trigger gg_trg_PetD2=null
trigger gg_trg_PetE1=null
trigger gg_trg_PetF1=null
trigger gg_trg_PetG1=null
trigger gg_trg_PetH1=null
trigger gg_trg_PetI=null
trigger gg_trg_PetJ=null
trigger gg_trg_Ogre_Show=null
trigger gg_trg_Ogre_Show2=null
trigger gg_trg_Ogre_Relive=null
trigger gg_trg_Area_GoBack=null
trigger gg_trg_Hero_type=null
trigger gg_trg_Hero_show=null
trigger gg_trg_Hero_choice=null
trigger gg_trg_Dialog=null
trigger gg_trg_Dialog_select=null
trigger gg_trg_Hero_close=null
trigger gg_trg_Open_Boss=null
trigger gg_trg_Code=null
trigger gg_trg_Save=null
trigger gg_trg_Load=null
trigger gg_trg_Skill1=null
trigger gg_trg_Skill2=null
trigger gg_trg_Skill3=null
trigger gg_trg_Skill4=null
trigger gg_trg_Skill5=null
trigger gg_trg_Skill6=null
trigger gg_trg_Skill7=null
trigger gg_trg_Skill8=null
trigger gg_trg_Skill_buy1=null
trigger gg_trg_Skill_buy2=null
trigger gg_trg_Skill_buy3=null
trigger gg_trg_Skill_buy4=null
trigger gg_trg_Skill_buy5=null
trigger gg_trg_Skill_del=null
trigger gg_trg_Skill_delsave=null
trigger gg_trg_Skill_del2=null
trigger gg_trg_Skill_delsave2=null
trigger gg_trg_Skill_up=null
trigger gg_trg_Skill_upsave=null
trigger gg_trg_Skill_up2=null
trigger gg_trg_Skill_upsave2=null
trigger gg_trg_Hero_move=null
trigger gg_trg_Hero_move2=null
trigger gg_trg_Skill_MQ=null
trigger gg_trg_Skill_MQ2=null
trigger gg_trg_Skill_Esc=null
trigger gg_trg_Itemfrist=null
trigger gg_trg_Itemtype=null
trigger gg_trg_ItemSet=null
trigger gg_trg_ItemUp=null
trigger gg_trg_ItemKey=null
trigger gg_trg_SQ=null
trigger gg_trg_MQ=null
trigger gg_trg_ItemSQ_time=null
trigger gg_trg_Arm0=null
trigger gg_trg_Arm1=null
trigger gg_trg_Arm3=null
trigger gg_trg_Arm4=null
trigger gg_trg_Arm5=null
trigger gg_trg_Ares=null
trigger gg_trg_Ares2=null
trigger gg_trg_Ares3=null
trigger gg_trg_Ares5=null
trigger gg_trg_SQ3=null
trigger gg_trg_G001=null
trigger gg_trg_Die=null
trigger gg_trg_Sec_Login=null
trigger gg_trg_Sec_Start=null
trigger gg_trg_Sec_Ami1=null
trigger gg_trg_SEC_AmiGoIN=null
trigger gg_trg_Sec_XH=null
trigger gg_trg_Sec_Out=null
trigger gg_trg_Sec_GoBack=null
trigger gg_trg_SEC_heroIN=null
trigger gg_trg_Sec_Die=null
trigger gg_trg_Sec_AI=null
trigger gg_trg_Thr_login=null
trigger gg_trg_Thr_Go=null
trigger gg_trg_Thr_AmiMove=null
trigger gg_trg_Thr_Ami=null
trigger gg_trg_Thr_Ami2=null
trigger gg_trg_Thr_Ami3=null
trigger gg_trg_Thr_Ami4=null
trigger gg_trg_Thr_Ami5=null
trigger gg_trg_Thr_Ami6=null
trigger gg_trg_Thr_Ami7=null
trigger gg_trg_Thr_ArmUP=null
trigger gg_trg_Thr_AmiUP=null
trigger gg_trg_Thr_AmiAi1=null
trigger gg_trg_Thr_AmiAi2=null
trigger gg_trg_Thr_AmiAi3=null
trigger gg_trg_Thr_AmiAi4=null
trigger gg_trg_Thr_AmiAi5=null
unit gg_unit_h012_0015=null
unit gg_unit_u00B_0268=null
unit gg_unit_h012_0019=null
unit gg_unit_h012_0021=null
unit gg_unit_u00D_0269=null
unit gg_unit_h00S_0271=null
unit gg_unit_u00C_0307=null
unit gg_unit_n01H_0182=null
unit gg_unit_h012_0023=null
unit gg_unit_n007_0003=null
unit gg_unit_u00D_0309=null
unit gg_unit_u00C_0308=null
unit gg_unit_u00C_0302=null
unit gg_unit_h012_0024=null
unit gg_unit_u00C_0301=null
unit gg_unit_n02E_0037=null
endglobals
function InitGlobals takes nothing returns nothing
local integer i=0
set i=0
loop
exitwhen(i>20)
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>1)
set udg_M9P2Q7U5l4V5W9O45lO7041DE2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>200)
set udg_M9P22Q7U5l4V5W9O45lO7041D2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>200)
set udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[i]=CreateTimer()
set i=i+1
endloop
set i=0
loop
exitwhen(i>80)
set udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[i]=DialogCreate()
set i=i+1
endloop
set i=0
loop
exitwhen(i>200)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>12)
set udg_M9P2Q7U5l4V5W9O45lO7041SD2G5K3[i]=""
set i=i+1
endloop
set i=0
loop
exitwhen(i>300)
set udg_M9P2Q7U5l34V5W9O45lO7041D2G5K3[i]="0"
set i=i+1
endloop
set udg_unit_key=0
set i=0
loop
exitwhen(i>1)
set udg_M9P2Q7U5l4V5W9O45lO704N1D2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>1)
set udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[i]=0
set i=i+1
endloop
set udg_M9P2Q7U5l4V51W9O45lO7041D2G5K3=0
set udg_M9P2Q7U5l4V5W9O45lO37041D2G5K3=0
set i=0
loop
exitwhen(i>1)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[i]=CreateGroup()
set i=i+1
endloop
set i=0
loop
exitwhen(i>1)
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>1)
set udg_M9P2Q7U5l4V5W9O45l3O7041D2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>1)
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>1)
set udg_M9P2Q7U5l4V5W9O45lO704M1D2G5K3[i]=0
set i=i+1
endloop
set udg_M9P2Q7USBF4V5W9O45lO7041D2G5K3=CreateGroup()
set udg_M9P2Q7U5l4V5W9O45lO70N41D2G5K3=0
set i=0
loop
exitwhen(i>1)
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>100)
set udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>10)
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[i]=""
set i=i+1
endloop
set udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3=0
set i=0
loop
exitwhen(i>55)
set udg_M9P2Q7U5l4V5W9O45lO77041D2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>7)
set udg_M9P2Q7U5l4V5W9O45lO7041DT2G5K3[i]=CreateTimer()
set i=i+1
endloop
set i=0
loop
exitwhen(i>7)
set udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>1)
set udg_M9P2Q7U5l4V5W9O45lO7041D2GJ5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>1)
set udg_M9P2Q7CU5l4V5W9O45lO7041D2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>1)
set udg_M9P2Q7U5l4V5W9O45lO704S1D2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>1)
set udg_M9P2Q7XU5l4V5W9O45lO7041D2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>1)
set udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[i]=0
set i=i+1
endloop
set i=0
loop
exitwhen(i>1)
set udg_M9P2Q7U5l4V5W9O45lO7M041D2G5K3[i]=0
set i=i+1
endloop
endfunction
function InitSounds takes nothing returns nothing
set gg_snd_BansheePissed5=CreateSound("Units\\Undead\\Banshee\\BansheePissed5.wav",false,true,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_BansheePissed5,"BansheePissed")
call SetSoundDuration(gg_snd_BansheePissed5,4307)
set gg_snd_BansheeWarcry1=CreateSound("Units\\Undead\\Banshee\\BansheeWarcry1.wav",false,true,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_BansheeWarcry1,"BansheeWarcry")
call SetSoundDuration(gg_snd_BansheeWarcry1,2922)
set gg_snd_BansheeWhat2=CreateSound("Units\\Undead\\Banshee\\BansheeWhat2.wav",false,true,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_BansheeWhat2,"BansheeWhat")
call SetSoundDuration(gg_snd_BansheeWhat2,2360)
set gg_snd_BansheeYesAttack1=CreateSound("Units\\Undead\\Banshee\\BansheeYesAttack1.wav",false,true,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_BansheeYesAttack1,"BansheeYesAttack")
call SetSoundDuration(gg_snd_BansheeYesAttack1,1623)
set gg_snd_BansheeYesAttack2=CreateSound("Units\\Undead\\Banshee\\BansheeYesAttack2.wav",false,true,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_BansheeYesAttack2,"BansheeYesAttack")
call SetSoundDuration(gg_snd_BansheeYesAttack2,2429)
set gg_snd_BansheeYesAttack3=CreateSound("Units\\Undead\\Banshee\\BansheeYesAttack3.wav",false,true,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_BansheeYesAttack3,"BansheeYesAttack")
call SetSoundDuration(gg_snd_BansheeYesAttack3,2656)
set gg_snd_CryptLordAttackEffort1=CreateSound("Units\\Undead\\HeroCryptLord\\CryptLordAttackEffort1.wav",false,true,true,10,10,"CombatSoundsEAX")
call SetSoundParamsFromLabel(gg_snd_CryptLordAttackEffort1,"CryptLordAttack1")
call SetSoundDuration(gg_snd_CryptLordAttackEffort1,1101)
set gg_snd_CryptLordAttackEffort2=CreateSound("Units\\Undead\\HeroCryptLord\\CryptLordAttackEffort2.wav",false,true,true,10,10,"CombatSoundsEAX")
call SetSoundParamsFromLabel(gg_snd_CryptLordAttackEffort2,"CryptLordAttack2")
call SetSoundDuration(gg_snd_CryptLordAttackEffort2,1235)
set gg_snd_Music01="Sound\\Music\\mp3Music\\PH1.mp3"
set gg_snd_NerubianCryptLordPissed1=CreateSound("Units\\Undead\\HeroCryptLord\\NerubianCryptLordPissed1.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_NerubianCryptLordPissed1,"HeroCryptLordPissed")
call SetSoundDuration(gg_snd_NerubianCryptLordPissed1,3222)
set gg_snd_NerubianCryptLordPissed4=CreateSound("Units\\Undead\\HeroCryptLord\\NerubianCryptLordPissed4.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_NerubianCryptLordPissed4,"HeroCryptLordPissed")
call SetSoundDuration(gg_snd_NerubianCryptLordPissed4,3727)
set gg_snd_NerubianCryptLordReady1=CreateSound("Units\\Undead\\HeroCryptLord\\NerubianCryptLordReady1.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_NerubianCryptLordReady1,"HeroCryptLordReady")
call SetSoundDuration(gg_snd_NerubianCryptLordReady1,2786)
set gg_snd_NerubianCryptLordWarcry1=CreateSound("Units\\Undead\\HeroCryptLord\\NerubianCryptLordWarcry1.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_NerubianCryptLordWarcry1,"HeroCryptLordWarcry")
call SetSoundDuration(gg_snd_NerubianCryptLordWarcry1,2514)
set gg_snd_NerubianCryptLordYes5=CreateSound("Units\\Undead\\HeroCryptLord\\NerubianCryptLordYes5.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_NerubianCryptLordYes5,"HeroCryptLordYes")
call SetSoundDuration(gg_snd_NerubianCryptLordYes5,3454)
set gg_snd_NerubianCryptLordYesAttack1=CreateSound("Units\\Undead\\HeroCryptLord\\NerubianCryptLordYesAttack1.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_NerubianCryptLordYesAttack1,"HeroCryptLordYesAttack")
call SetSoundDuration(gg_snd_NerubianCryptLordYesAttack1,2003)
set gg_snd_NerubianCryptLordYesAttack2=CreateSound("Units\\Undead\\HeroCryptLord\\NerubianCryptLordYesAttack2.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_NerubianCryptLordYesAttack2,"HeroCryptLordYesAttack")
call SetSoundDuration(gg_snd_NerubianCryptLordYesAttack2,2573)
set gg_snd_Sound01=CreateSound("Sound\\Interface\\ArrangedTeamInvitation.wav",false,false,false,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_Sound01,"ArrangedTeamInvitation")
call SetSoundDuration(gg_snd_Sound01,2914)
set gg_snd_Sound02=CreateSound("Sound\\Interface\\GameFound.wav",false,false,false,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_Sound02,"GameFound")
call SetSoundDuration(gg_snd_Sound02,7488)
set gg_snd_Sound03=CreateSound("Sound\\Interface\\NewTournament.wav",false,false,false,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_Sound03,"NewTournament")
call SetSoundDuration(gg_snd_Sound03,7988)
set gg_snd_Sound04=CreateSound("Sound\\Interface\\QuestCompleted.wav",false,false,false,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_Sound04,"QuestCompleted")
call SetSoundDuration(gg_snd_Sound04,5155)
set gg_snd_TichondriusPissed2=CreateSound("Units\\Undead\\Tichondrius\\TichondriusPissed2.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_TichondriusPissed2,"TichondriusPissed")
call SetSoundDuration(gg_snd_TichondriusPissed2,2299)
set gg_snd_TichondriusWarcry1=CreateSound("Units\\Undead\\Tichondrius\\TichondriusWarcry1.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_TichondriusWarcry1,"TichondriusWarcry")
call SetSoundDuration(gg_snd_TichondriusWarcry1,2396)
set gg_snd_TichondriusWhat3=CreateSound("Units\\Undead\\Tichondrius\\TichondriusWhat3.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_TichondriusWhat3,"TichondriusWhat")
call SetSoundDuration(gg_snd_TichondriusWhat3,1567)
set gg_snd_TichondriusYesAttack1=CreateSound("Units\\Undead\\Tichondrius\\TichondriusYesAttack1.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_TichondriusYesAttack1,"TichondriusYesAttack")
call SetSoundDuration(gg_snd_TichondriusYesAttack1,1178)
set gg_snd_TichondriusYesAttack2=CreateSound("Units\\Undead\\Tichondrius\\TichondriusYesAttack2.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_TichondriusYesAttack2,"TichondriusYesAttack")
call SetSoundDuration(gg_snd_TichondriusYesAttack2,1591)
set gg_snd_TichondriusYesAttack3=CreateSound("Units\\Undead\\Tichondrius\\TichondriusYesAttack3.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_TichondriusYesAttack3,"TichondriusYesAttack")
call SetSoundDuration(gg_snd_TichondriusYesAttack3,2055)
set gg_snd_VarimathrasPissed5=CreateSound("Units\\Undead\\Varimathras\\VarimathrasPissed5.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_VarimathrasPissed5,"VarimathrasPissed")
call SetSoundDuration(gg_snd_VarimathrasPissed5,2672)
set gg_snd_VarimathrasPissed6=CreateSound("Units\\Undead\\Varimathras\\VarimathrasPissed6.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_VarimathrasPissed6,"VarimathrasPissed")
call SetSoundDuration(gg_snd_VarimathrasPissed6,2885)
set gg_snd_VarimathrasWarcry1=CreateSound("Units\\Undead\\Varimathras\\VarimathrasWarcry1.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_VarimathrasWarcry1,"VarimathrasWarcry")
call SetSoundDuration(gg_snd_VarimathrasWarcry1,1937)
set gg_snd_VarimathrasYes1=CreateSound("Units\\Undead\\Varimathras\\VarimathrasYes1.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_VarimathrasYes1,"VarimathrasYes")
call SetSoundDuration(gg_snd_VarimathrasYes1,1353)
set gg_snd_VarimathrasYesAttack1=CreateSound("Units\\Undead\\Varimathras\\VarimathrasYesAttack1.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_VarimathrasYesAttack1,"VarimathrasYesAttack")
call SetSoundDuration(gg_snd_VarimathrasYesAttack1,2171)
set gg_snd_VarimathrasYesAttack3=CreateSound("Units\\Undead\\Varimathras\\VarimathrasYesAttack3.wav",false,true,true,10,10,"HeroAcksEAX")
call SetSoundParamsFromLabel(gg_snd_VarimathrasYesAttack3,"VarimathrasYesAttack")
call SetSoundDuration(gg_snd_VarimathrasYesAttack3,2038)
set gg_snd_Rescue=CreateSound("Sound\\Interface\\Rescue.wav",false,false,false,10,10,"")
call SetSoundParamsFromLabel(gg_snd_Rescue,"Rescue")
call SetSoundDuration(gg_snd_Rescue,3796)
set gg_snd_QuestNew=CreateSound("Sound\\Interface\\QuestNew.wav",false,false,false,10,10,"")
call SetSoundParamsFromLabel(gg_snd_QuestNew,"QuestNew")
call SetSoundDuration(gg_snd_QuestNew,3750)
set gg_snd_Sound06=CreateSound("Sound\\Interface\\ClanInvitation.wav",false,false,false,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_Sound06,"ClanInvitation")
call SetSoundDuration(gg_snd_Sound06,4296)
set gg_snd_BattleNetDoorsStereo2=CreateSound("Sound\\Interface\\BattleNetDoorsStereo2.wav",false,false,false,10,10,"SpellsEAX")
call SetSoundParamsFromLabel(gg_snd_BattleNetDoorsStereo2,"GlueScreenBNetSlam")
call SetSoundDuration(gg_snd_BattleNetDoorsStereo2,2646)
set gg_snd_UtherReturns=CreateSound("Sound\\Ambient\\DoodadEffects\\UtherReturns.wav",false,false,false,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_UtherReturns,"UtherReturnsSound")
call SetSoundDuration(gg_snd_UtherReturns,6711)
set gg_snd_Sec01=CreateSound("Sound\\Ambient\\DoodadEffects\\TheHornOfCenarius.wav",false,false,false,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_Sec01,"HornOfCenariusSound")
call SetSoundDuration(gg_snd_Sec01,12121)
set gg_snd_Sound07=CreateSound("Sound\\Ambient\\DoodadEffects\\SargerasRoar.wav",false,true,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_Sound07,"SargerasRoar")
call SetSoundDuration(gg_snd_Sound07,4481)
set gg_snd_SargerasLaugh=CreateSound("Sound\\Ambient\\DoodadEffects\\SargerasLaugh.wav",false,true,true,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_SargerasLaugh,"SargerasLaugh")
call SetSoundDuration(gg_snd_SargerasLaugh,3326)
set gg_snd_Sound05=CreateSound("Sound\\Ambient\\DoodadEffects\\WarlockAppears.wav",false,false,false,10,10,"DefaultEAXON")
call SetSoundParamsFromLabel(gg_snd_Sound05,"ArchimondeAppearsSound")
call SetSoundDuration(gg_snd_Sound05,7361)
endfunction
function CreateBuildingsForPlayer10 takes nothing returns nothing
local player p=Player(10)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'h004',-512.,-9664.,270.)
set u=CreateUnit(p,'h00G',-1024.,-18624.,270.)
set u=CreateUnit(p,'h00V',-1003.6,-19796.6,53.299)
set u=CreateUnit(p,'h00G',-1024.,-19200.,270.)
set u=CreateUnit(p,'h00G',128.,-18752.,270.)
set u=CreateUnit(p,'h00G',192.,-19200.,270.)
set u=CreateUnit(p,'h00G',1152.,-17216.,270.)
set u=CreateUnit(p,'h004',16768.,-5696.,270.)
set gg_unit_n02E_0037=CreateUnit(p,'n02E',-1344.,-19456.,43.737)
set u=CreateUnit(p,'h004',-832.,960.,270.)
set u=CreateUnit(p,'h004',8896.,-10112.,270.)
set gg_unit_h00S_0271=CreateUnit(p,'h00S',-512.,-18880.,270.)
set u=CreateUnit(p,'h00G',1152.,-17600.,270.)
set u=CreateUnit(p,'h00G',1088.,-20288.,270.)
set u=CreateUnit(p,'h00G',1088.,-19904.,270.)
set u=CreateUnit(p,'h00G',384.,-16704.,270.)
set u=CreateUnit(p,'h00G',-128.,-17152.,270.)
set u=CreateUnit(p,'h00G',-640.,-17664.,270.)
set u=CreateUnit(p,'h00G',256.,-18048.,270.)
set u=CreateUnit(p,'h00G',768.,-18560.,270.)
set u=CreateUnit(p,'h00G',832.,-19264.,270.)
set u=CreateUnit(p,'h00G',256.,-19776.,270.)
set u=CreateUnit(p,'h00G',.0,-20672.,270.)
set u=CreateUnit(p,'h00G',448.,-21120.,270.)
set u=CreateUnit(p,'h00G',-384.,-19520.,270.)
set u=CreateUnit(p,'h00G',-448.,-18304.,270.)
set u=CreateUnit(p,'h00G',-512.,-20096.,270.)
set u=CreateUnit(p,'h00I',64.,-20224.,270.)
set u=CreateUnit(p,'h00I',64.,-17600.,270.)
set u=CreateUnit(p,'h00U',-1088.,-17984.,301.573)
set u=CreateUnit(p,'h00T',-1393.1,-18218.9,308.651)
set u=CreateUnit(p,'n00I',-1472.,-18880.,270.)
endfunction
function CreateUnitsForPlayer10 takes nothing returns nothing
local player p=Player(10)
local unit u
local integer unitID
local trigger t
local real life
set gg_unit_n007_0003=CreateUnit(p,'n007',21742.5,-21802.1,280.)
set gg_unit_h012_0015=CreateUnit(p,'h012',-1004.8,-13102.3,224.667)
set gg_unit_h012_0019=CreateUnit(p,'h012',-847.3,-12461.8,326.864)
set gg_unit_h012_0021=CreateUnit(p,'h012',-200.6,-12500.4,328.018)
set gg_unit_h012_0023=CreateUnit(p,'h012',-97.1,-13264.6,334.357)
set gg_unit_h012_0024=CreateUnit(p,'h012',-611.1,-13536.3,210.109)
endfunction
function CreateBuildingsForPlayer11 takes nothing returns nothing
local player p=Player(11)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'u00C',7776.,-17504.,270.)
set u=CreateUnit(p,'u00C',7840.,-20000.,270.)
set gg_unit_u00B_0268=CreateUnit(p,'u00B',9536.,-18816.,270.)
set gg_unit_u00D_0269=CreateUnit(p,'u00D',8384.,-17792.,270.)
set u=CreateUnit(p,'u00C',7200.,-17248.,270.)
set u=CreateUnit(p,'u00C',7200.,-17568.,270.)
set u=CreateUnit(p,'u00C',7200.,-19936.,270.)
set u=CreateUnit(p,'u00C',7200.,-20256.,270.)
set u=CreateUnit(p,'u00C',7392.,-18528.,270.)
set u=CreateUnit(p,'u00C',7392.,-19040.,270.)
set u=CreateUnit(p,'u00C',8096.,-19296.,270.)
set u=CreateUnit(p,'u00C',8032.,-18208.,270.)
set gg_unit_u00C_0301=CreateUnit(p,'u00C',8800.,-18272.,270.)
set gg_unit_u00C_0302=CreateUnit(p,'u00C',8864.,-19296.,270.)
set u=CreateUnit(p,'u00C',7776.,-21088.,270.)
set u=CreateUnit(p,'u00C',8288.,-20576.,270.)
set u=CreateUnit(p,'u00C',7648.,-16416.,270.)
set u=CreateUnit(p,'u00C',8224.,-16992.,270.)
set gg_unit_u00C_0307=CreateUnit(p,'u00C',8800.,-17632.,270.)
set gg_unit_u00C_0308=CreateUnit(p,'u00C',8864.,-20000.,270.)
set gg_unit_u00D_0309=CreateUnit(p,'u00D',8384.,-19840.,270.)
set u=CreateUnit(p,'u00E',8448.,-18816.,270.)
set u=CreateUnit(p,'u00C',9312.,-18080.,270.)
set u=CreateUnit(p,'u00C',9440.,-19488.,270.)
endfunction
function CreateUnitsForPlayer11 takes nothing returns nothing
local player p=Player(11)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'n01I',10401.2,-5108.1,191.807)
set u=CreateUnit(p,'n00B',5126.2,-12961.8,240.522)
set u=CreateUnit(p,'n01I',9949.6,-3917.6,276.073)
set u=CreateUnit(p,'n01I',9550.9,1187.3,191.807)
set u=CreateUnit(p,'n01I',10448.3,271.,200.31)
set u=CreateUnit(p,'n01I',8640.8,-14050.8,191.807)
set u=CreateUnit(p,'n01I',8533.6,1270.5,182.467)
set u=CreateUnit(p,'n00B',4740.9,-13040.2,332.946)
set u=CreateUnit(p,'n00B',5230.3,-13302.9,150.411)
set u=CreateUnit(p,'n00B',4727.7,-13246.6,14.394)
set u=CreateUnit(p,'n00B',4889.2,-12908.1,293.513)
set u=CreateUnit(p,'n00B',5255.3,-13094.1,198.008)
set u=CreateUnit(p,'n00B',4913.1,-13405.8,68.156)
set u=CreateUnit(p,'n00B',5156.6,-13443.5,119.402)
endfunction
function CreateNeutralPassiveBuildings takes nothing returns nothing
local player p=Player(PLAYER_NEUTRAL_PASSIVE)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'n008',4992.,-13184.,270.)
set u=CreateUnit(p,'ncop',22272.,-20608.,270.)
set gg_unit_n01H_0182=CreateUnit(p,'n01H',21760.,-20096.,270.)
call SetUnitColor(gg_unit_n01H_0182,ConvertPlayerColor(0))
endfunction
function CreatePlayerBuildings takes nothing returns nothing
call CreateBuildingsForPlayer10()
call CreateBuildingsForPlayer11()
endfunction
function CreatePlayerUnits takes nothing returns nothing
call CreateUnitsForPlayer10()
call CreateUnitsForPlayer11()
endfunction
function CreateAllUnits takes nothing returns nothing
call CreateNeutralPassiveBuildings()
call CreatePlayerBuildings()
call CreatePlayerUnits()
endfunction
function CreateRegions takes nothing returns nothing
local weathereffect we
set gg_rct_GoBack01=Rect(10816.,-6368.,10944.,-288.)
set gg_rct_GoBack02=Rect(2976.,-1056.,4288.,-800.)
set gg_rct_GoBack03=Rect(7392.,-3712.,7648.,-1952.)
set gg_rct_GoBack04=Rect(2112.,-6624.,3136.,-6400.)
set gg_rct_GoBack05=Rect(4704.,-8000.,6656.,-7744.)
set gg_rct_Ogre_Shu=Rect(-2048.,-8224.,288.,-1792.)
set gg_rct_SEC______00A=Rect(3904.,800.,5376.,2048.)
set gg_rct_SEC______00B=Rect(3392.,256.,6016.,2048.)
set gg_rct_SEC______01=Rect(864.,-12416.,1856.,-11552.)
set gg_rct_SEC______02=Rect(4352.,-14144.,5248.,-13344.)
set gg_rct_SEC______03=Rect(8704.,-12704.,9728.,-11808.)
set gg_rct_SEC______04=Rect(928.,-1952.,1920.,-1088.)
set gg_rct_SEC______05=Rect(3296.,-832.,4288.,32.)
set gg_rct_SEC______06=Rect(7648.,-1856.,8640.,-992.)
set gg_rct_______Second01=Rect(-608.,-13056.,-384.,-12832.)
set gg_rct_______Baowu01=Rect(-1824.,-13600.,2240.,-1280.)
set gg_rct_______Baowu02=Rect(2432.,-13824.,7776.,-6720.)
set gg_rct_______Baowu03=Rect(7936.,-14080.,10144.,-1280.)
set gg_rct_______Baowu04=Rect(-1824.,-1120.,10944.,1888.)
set gg_rct_______Baowu05=Rect(2304.,-6848.,7328.,-1120.)
set gg_rct_______Map=Rect(-1824.,-13920.,10176.,1888.)
set gg_rct_______Road001=Rect(512.,-17088.,1312.,-15776.)
set gg_rct_______Road002=Rect(512.,-21632.,1280.,-20256.)
set gg_rct_______Road003=Rect(448.,-19488.,1024.,-17984.)
set gg_rct_______Road004=Rect(6816.,-16832.,7488.,-15488.)
set gg_rct_______Road005=Rect(6912.,-21952.,7488.,-20576.)
set gg_rct_______Road006=Rect(6880.,-19456.,7488.,-18016.)
set gg_rct_______Road007=Rect(-1248.,-19168.,-736.,-18656.)
set gg_rct_______Road008=Rect(9184.,-19136.,9888.,-18368.)
set gg_rct_______Road009=Rect(10176.,-5120.,10688.,-4608.)
set gg_rct_______ShowHero=Rect(21152.,-22368.,22368.,-21184.)
set gg_rct_______Start1=Rect(-1152.,544.,-512.,1120.)
set gg_rct_______Start2=Rect(-800.,-10080.,-224.,-9504.)
set gg_rct_______Start3=Rect(8576.,-10560.,9184.,-9984.)
set gg_rct_______Start4=Rect(16352.,-6112.,16928.,-5536.)
set gg_rct_______Test01=Rect(19808.,-1920.,21952.,96.)
set gg_rct_______Test02=Rect(5600.,-11744.,6880.,-10432.)
set gg_rct______________020=Rect(7488.,-21888.,9920.,-15584.)
set gg_rct______________021=Rect(12416.,-14304.,22528.,2048.)
set gg_rct______________022=Rect(21184.,-20672.,22336.,-19552.)
set gg_rct______________026=Rect(9600.,-22528.,10208.,-21952.)
set gg_rct______________028=Rect(22144.,-20800.,22464.,-20480.)
endfunction
function Trig________________u_Func008002 takes nothing returns nothing
call SetPlayerMaxHeroesAllowed(1,GetEnumPlayer())
endfunction
function Trig________________u_Func012002 takes nothing returns nothing
call PanCameraToTimedLocForPlayer(GetEnumPlayer(),GetRectCenter(gg_rct_______ShowHero),0)
endfunction
function Trig________________u_Func013002 takes nothing returns nothing
call SetPlayerAllianceStateBJ(GetEnumPlayer(),Player(PLAYER_NEUTRAL_AGGRESSIVE),bj_ALLIANCE_UNALLIED_VISION)
endfunction
function Trig________________u_Actions takes nothing returns nothing
call MeleeStartingVisibility()
call FogEnableOn()
call FogMaskEnableOn()
call SetGameDifficulty(MAP_DIFFICULTY_HARD)
call SetGameSpeed(MAP_SPEED_NORMAL)
call LockGameSpeedBJ()
call DoNotSaveReplay()
call ForForce(GetPlayersAll(),function Trig________________u_Func008002)
call EnableWorldFogBoundary(false)
call RemoveAllGuardPositions(Player(PLAYER_NEUTRAL_AGGRESSIVE))
call ForForce(GetPlayersAll(),function Trig________________u_Func012002)
call ForForce(GetPlayersAll(),function Trig________________u_Func013002)
call SetPlayerAllianceStateBJ(Player(11),Player(PLAYER_NEUTRAL_AGGRESSIVE),bj_ALLIANCE_NEUTRAL)
call SetPlayerAllianceStateBJ(Player(11),Player(9),bj_ALLIANCE_NEUTRAL)
call SetPlayerAllianceStateBJ(Player(PLAYER_NEUTRAL_AGGRESSIVE),Player(11),bj_ALLIANCE_NEUTRAL)
call SetPlayerAllianceStateBJ(Player(PLAYER_NEUTRAL_AGGRESSIVE),Player(9),bj_ALLIANCE_NEUTRAL)
call SetPlayerAllianceStateBJ(Player(9),Player(11),bj_ALLIANCE_NEUTRAL)
call SetPlayerAllianceStateBJ(Player(9),Player(PLAYER_NEUTRAL_AGGRESSIVE),bj_ALLIANCE_NEUTRAL)
call SetPlayerFlagBJ(PLAYER_STATE_GIVES_BOUNTY,true,Player(11))
call SetPlayerFlagBJ(PLAYER_STATE_GIVES_BOUNTY,true,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerFlagBJ(PLAYER_STATE_GIVES_BOUNTY,false,Player(9))
call DisplayTimedTextToForce(GetPlayersAll(),30.,"|cffffff00在帝国南方的利亚特大森林，突然出现大量的不属于这世界原有的品种怪物，其周边城市已经不同程度的遭到这些怪物的袭击。勇士们，拿起你们的武器，保卫这片和平的乐土吧|r")
call DisplayTimedTextToForce(GetPlayersAll(),30.,"|cffffff00任务一：进入利亚特大森林，调查灾情原因！|r")
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[0]=gg_rct_______Map
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[1]=gg_rct_______Baowu01
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[2]=gg_rct_______Baowu02
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[3]=gg_rct_______Baowu03
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[4]=gg_rct_______Baowu04
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[5]=gg_rct_______Baowu05
set udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[1]=GetRectCenter(gg_rct_______Start1)
set udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[2]=GetRectCenter(gg_rct_______Start2)
set udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[3]=GetRectCenter(gg_rct_______Start3)
set udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[4]=GetRectCenter(gg_rct_______Start4)
set udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[5]=GetRectCenter(gg_rct______________022)
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[91]=Location(-1926.,-22404.)
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[92]=Location(9903.,-22246.)
call CreateNUnitsAtLoc(1,'hpea',Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[91],bj_UNIT_FACING)
set udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[0]=GetLastCreatedUnit()
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(gg_rct_______Baowu01)
call CreateNUnitsAtLoc(1,'n01Y',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(gg_rct_______Baowu02)
call CreateNUnitsAtLoc(1,'n01Y',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(gg_rct_______Baowu04)
call CreateNUnitsAtLoc(1,'n01Y',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(gg_rct_______Baowu03)
call CreateNUnitsAtLoc(1,'n01Y',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(gg_rct_______Baowu05)
call CreateNUnitsAtLoc(1,'n01Y',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call CreateNUnitsAtLoc(1,'n01X',Player(PLAYER_NEUTRAL_AGGRESSIVE),Location(6367.,-11762.),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n01X',Player(PLAYER_NEUTRAL_AGGRESSIVE),Location(10495.,-3201.),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n01X',Player(PLAYER_NEUTRAL_AGGRESSIVE),Location(-1701.,-13928.),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n01X',Player(PLAYER_NEUTRAL_AGGRESSIVE),Location(-1636.,-2353.),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n01Y',Player(PLAYER_NEUTRAL_AGGRESSIVE),Location(10287.,-7644.),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n01Y',Player(PLAYER_NEUTRAL_AGGRESSIVE),Location(2702.,1642.),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n01Y',Player(PLAYER_NEUTRAL_AGGRESSIVE),Location(211.,-5729.),bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n01X',Player(PLAYER_NEUTRAL_AGGRESSIVE),Location(10759.,1875.),bj_UNIT_FACING)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(gg_rct_______Map)
call CreateNUnitsAtLoc(1,'n01Z',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(gg_rct_______Map)
call CreateNUnitsAtLoc(1,'n01Z',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(gg_rct_______Baowu05)
call CreateNUnitsAtLoc(1,'n020',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig________________u takes nothing returns nothing
set gg_trg________________u=CreateTrigger()
call TriggerAddAction(gg_trg________________u,function Trig________________u_Actions)
endfunction
function Trig_multiboard2_Func026Func002Func002Func001C takes nothing returns boolean
if((GetForLoopIndexB()==1))then
return true
endif
if((GetForLoopIndexB()==2))then
return true
endif
if((GetForLoopIndexB()==3))then
return true
endif
if((GetForLoopIndexB()==4))then
return true
endif
if((GetForLoopIndexB()==5))then
return true
endif
if((GetForLoopIndexB()==9))then
return true
endif
return false
endfunction
function Trig_multiboard2_Func026Func002Func002C takes nothing returns boolean
if(not Trig_multiboard2_Func026Func002Func002Func001C())then
return false
endif
return true
endfunction
function Trig_multiboard2_Func026Func002Func003C takes nothing returns boolean
if(not(GetForLoopIndexB()==6))then
return false
endif
return true
endfunction
function Trig_multiboard2_Func026Func002Func005C takes nothing returns boolean
if(not(GetForLoopIndexB()==1))then
return false
endif
return true
endfunction
function Trig_multiboard2_Func026Func002Func007C takes nothing returns boolean
if(not(GetForLoopIndexB()==2))then
return false
endif
return true
endfunction
function Trig_multiboard2_Func026Func002Func008Func002C takes nothing returns boolean
if((GetForLoopIndexB()==3))then
return true
endif
if((GetForLoopIndexB()==7))then
return true
endif
if((GetForLoopIndexB()==8))then
return true
endif
if((GetForLoopIndexB()==9))then
return true
endif
if((GetForLoopIndexB()==10))then
return true
endif
return false
endfunction
function Trig_multiboard2_Func026Func002Func008C takes nothing returns boolean
if(not Trig_multiboard2_Func026Func002Func008Func002C())then
return false
endif
return true
endfunction
function Trig_multiboard2_Func026Func002Func009C takes nothing returns boolean
if(not(GetForLoopIndexB()==4))then
return false
endif
return true
endfunction
function Trig_multiboard2_Func026Func002Func010C takes nothing returns boolean
if(not(GetForLoopIndexB()==5))then
return false
endif
return true
endfunction
function Trig_multiboard2_Func026Func002Func011C takes nothing returns boolean
if(not(GetForLoopIndexB()==6))then
return false
endif
return true
endfunction
function Trig_multiboard2_Actions takes nothing returns nothing
call CreateMultiboardBJ(10,11,"游戏玩家排行榜")
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[1]="|cffffff00玩家|r"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[2]="|cffffff00功勋|r"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[3]="|cffffff00战绩|r"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[4]="|cffffff00武器|r"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[5]="|cffffff00铠甲|r"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[6]="|cffffff00战兽|r"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[7]="|cffffff00成长|r"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[8]="|cffffff00战死|r"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[9]="|cffffff00杀敌|r"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[10]="|cffffff00经验|r"
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=10
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),GetForLoopIndexA(),1,udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetForLoopIndexA()])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[1]="|cffFF0000"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[2]="|cff4646FF"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[3]="|cff00FFFF"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[4]="|cffCC33FF"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[5]="|cffFFFF00"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[6]="|cffFF9900"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[7]="|cff00FF00"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[8]="|cffFF99FF"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[9]="|cffC0C0C0"
set udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[10]="|cffB9DCFF"
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=11
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set bj_forLoopBIndex=1
set bj_forLoopBIndexEnd=10
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
if(Trig_multiboard2_Func026Func002Func002C())then
call MultiboardSetItemWidthBJ(GetLastCreatedMultiboard(),GetForLoopIndexB(),GetForLoopIndexA(),5.)
else
endif
if(Trig_multiboard2_Func026Func002Func003C())then
call MultiboardSetItemWidthBJ(GetLastCreatedMultiboard(),GetForLoopIndexB(),GetForLoopIndexA(),8.)
else
endif
if(Trig_multiboard2_Func026Func002Func005C())then
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),GetForLoopIndexB(),(GetForLoopIndexA()+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetForLoopIndexA()]+GetPlayerName(ConvertedPlayer(GetForLoopIndexA()))))
else
endif
if(Trig_multiboard2_Func026Func002Func007C())then
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),GetForLoopIndexB(),(GetForLoopIndexA()+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetForLoopIndexA()]+"冒险者"))
else
endif
if(Trig_multiboard2_Func026Func002Func008C())then
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),GetForLoopIndexB(),(GetForLoopIndexA()+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetForLoopIndexA()]+"0"))
else
endif
if(Trig_multiboard2_Func026Func002Func009C())then
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),GetForLoopIndexB(),(GetForLoopIndexA()+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetForLoopIndexA()]+"赤手"))
else
endif
if(Trig_multiboard2_Func026Func002Func010C())then
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),GetForLoopIndexB(),(GetForLoopIndexA()+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetForLoopIndexA()]+"布衣"))
else
endif
if(Trig_multiboard2_Func026Func002Func011C())then
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),GetForLoopIndexB(),(GetForLoopIndexA()+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetForLoopIndexA()]+"未捕捉"))
else
endif
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call MultiboardSetItemsStyle(bj_lastCreatedMultiboard,true,false)
call MultiboardMinimizeBJ(true,GetLastCreatedMultiboard())
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_multiboard2 takes nothing returns nothing
set gg_trg_multiboard2=CreateTrigger()
call TriggerRegisterTimerEventSingle(gg_trg_multiboard2,1.)
call TriggerAddAction(gg_trg_multiboard2,function Trig_multiboard2_Actions)
endfunction
function Trig_BeiBao2A_Func001Func001C takes nothing returns boolean
if(not(GetPlayerSlotState(ConvertedPlayer(GetForLoopIndexB()))==PLAYER_SLOT_STATE_PLAYING))then
return false
endif
return true
endfunction
function Trig_BeiBao2A_Actions takes nothing returns nothing
set bj_forLoopBIndex=1
set bj_forLoopBIndexEnd=10
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
if(Trig_BeiBao2A_Func001Func001C())then
call CreateNUnitsAtLoc(1,'n02Q',Player(PLAYER_NEUTRAL_PASSIVE),Location(-1249.,-16129.),bj_UNIT_FACING)
set udg_M9P2Q7U5l4V5W9O45lO97041D2G5K3[((GetForLoopIndexB()*5)+1)]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'n02Q',Player(PLAYER_NEUTRAL_PASSIVE),Location(-1249.,-16129.),bj_UNIT_FACING)
set udg_M9P2Q7U5l4V5W9O45lO97041D2G5K3[((GetForLoopIndexB()*5)+2)]=GetLastCreatedUnit()
call CreateNUnitsAtLoc(1,'n02Q',Player(PLAYER_NEUTRAL_PASSIVE),Location(-1249.,-16129.),bj_UNIT_FACING)
set udg_M9P2Q7U5l4V5W9O45lO97041D2G5K3[((GetForLoopIndexB()*5)+3)]=GetLastCreatedUnit()
set udg_M9P2Q7U5l4V5W9O45lO77041D2G5K3[GetConvertedPlayerId(ConvertedPlayer(GetForLoopIndexB()))]=1
else
endif
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_BeiBao2A takes nothing returns nothing
set gg_trg_BeiBao2A=CreateTrigger()
call TriggerAddAction(gg_trg_BeiBao2A,function Trig_BeiBao2A_Actions)
endfunction
function Trig_BeiBao2B_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A02L'))then
return false
endif
return true
endfunction
function Trig_BeiBao2B_Func003C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO77041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]>=4))then
return false
endif
return true
endfunction
function Trig_BeiBao2B_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call UnitAddItemSwapped(UnitItemInSlotBJ(GetTriggerUnit(),GetForLoopIndexA()),udg_M9P2Q7U5l4V5W9O45lO97041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*5)+udg_M9P2Q7U5l4V5W9O45lO77041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_M9P2Q7U5l4V5W9O45lO77041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=(udg_M9P2Q7U5l4V5W9O45lO77041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+1)
if(Trig_BeiBao2B_Func003C())then
set udg_M9P2Q7U5l4V5W9O45lO77041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=1
else
endif
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call UnitAddItemSwapped(UnitItemInSlotBJ(udg_M9P2Q7U5l4V5W9O45lO97041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*5)+udg_M9P2Q7U5l4V5W9O45lO77041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])],GetForLoopIndexA()),GetTriggerUnit())
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_BeiBao2B takes nothing returns nothing
set gg_trg_BeiBao2B=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_BeiBao2B,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(gg_trg_BeiBao2B,Condition(function Trig_BeiBao2B_Conditions))
call TriggerAddAction(gg_trg_BeiBao2B,function Trig_BeiBao2B_Actions)
endfunction
function Trig_help_Actions takes nothing returns nothing
call FlashQuestDialogButton()
call CreateQuestBJ(bj_QUESTTYPE_REQ_DISCOVERED,"清除作弊","TRIGSTR_1","ReplaceableTextures\\CommandButtons\\BTNOrbOfVenom.blp")
call CreateQuestBJ(bj_QUESTTYPE_REQ_DISCOVERED,"踢人指令","红色主机输入-fuck[空隔][玩家索引]可以把不受欢迎的玩家踢出游戏\n-fuck 1踢出红色玩家\n-fuck 2踢出蓝色玩家\n-fuck 3踢出青色玩家\n-fuck 4踢出紫色玩家\n-fuck 5踢出黄色玩家\n-fuck 6踢出橙色玩家\n-fuck 7踢出绿色玩家","ReplaceableTextures\\CommandButtons\\BTNOrbOfVenom.blp")
call CreateQuestBJ(bj_QUESTTYPE_REQ_DISCOVERED,"版权声明","本地图为共享软体，由sunness.com制作，有建议或发现BUG请加入QQ群58954706提交。未经书面允许，任何单位及个人不得私自修改本地图，sunness.com保留追究任何侵犯著作权行为的权利。本地图目前还处于调试测试阶段，在平衡好攻防后将逐步增加内容！","ReplaceableTextures\\CommandButtons\\BTNOrbOfFire.blp")
call CreateQuestBJ(bj_QUESTTYPE_REQ_DISCOVERED,"难度选择","第二难度起英雄每次死亡都会丢失一半的金钱，多保重啊\n第一难度BOSS降临时间间隔为700秒\n第二难度BOSS降临时间间隔为600秒 技能升级费用翻倍\n第三难度BOSS降临时间间隔为500秒 技能升级费用翻倍\n第四难度BOSS降临时间间隔为400秒 技能升级费用翻倍","ReplaceableTextures\\CommandButtons\\BTNOrbOfFire.blp")
call CreateQuestBJ(bj_QUESTTYPE_OPT_DISCOVERED,"功能提示","1.按键盘方向键[←]选择删除技能面板的主动技能\n2.按键盘方向键[→]选择删除魔法书里的被动技能\n3.按键盘方向键[ ↑ ]选择升级技能面板的主动技能\n4.按键盘方向键[ ↓ ]选择升级魔法书里的被动技能\n*.按键盘Q键切换背包，一共三个背包\n*.输入-kill自杀，当英雄重生被地形卡住时使用\n*.输入-kill自杀还原，如果火神套装引起变身后技能丢失\n*.在联盟窗口送金币给盟友时，按Ctrl点击每次为100金币","ReplaceableTextures\\CommandButtons\\BTNOrbOfLightning.blp")
call CreateQuestBJ(bj_QUESTTYPE_OPT_DISCOVERED,"新手攻略","本图为生存类地图，初期不要与敌人纠缠，尽快探路寻找宝箱合成高级装备，因为敌人会越来越密集，错过时间将很难发展。\n1.出生后马上到最近的方尖碑购买医疗/攻击技能各一个\n2.玩家初始可沿着铺着石头的道路推进寻找宝箱合成装备\n3.箱子最容易掉齐的套装为|cffCC33FF天使手镯|r跟|cffCC33FF魔源结晶|r二种\n4.得到天使手镯或魔源结晶后可以尝试进入中间的沼泽地刷怪物，会掉落较多的绿色装备\n5.尝试按A键攻击中立怪，容易掉落高级武器的合成组件\n6.总攻击力超150后及配有天使手镯可以尝试进入雪山/火山/死谷地区刷装备，会掉落蓝色的物品供合成最终套装。","ReplaceableTextures\\CommandButtons\\BTNOrbOfFire.blp")
call CreateQuestBJ(bj_QUESTTYPE_OPT_DISCOVERED,"物品收集","敏捷型建议收集：火神套装(专署)、战神套装、死神套装\n力量型建议收集：土神套装(专署)、战神套装、死神套装\n弓箭型建议收集：风神套装(专署)、雷神套装\n法师型建议收集：水神套装(专署)、冥王套装、精灵王套装","ReplaceableTextures\\CommandButtons\\BTNOrbOfLightning.blp")
call CreateQuestBJ(bj_QUESTTYPE_OPT_DISCOVERED,"刷宝位置","*.火山盆地的怪物有较高的机率掉落：\n  火神、土神套装组件物品\n*.冰雪山脉的怪物有较高的机率掉落：\n  风神、水神、雷神、冥皇套装组件物品\n*.亡灵山谷的怪物有较高的机率掉落：\n  死神与战神套装组件物品","ReplaceableTextures\\CommandButtons\\BTNOrbOfLightning.blp")
call CreateQuestBJ(bj_QUESTTYPE_OPT_DISCOVERED,"物品大全","TRIGSTR_2","ReplaceableTextures\\CommandButtons\\BTNOrbOfLightning.blp")
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_help takes nothing returns nothing
set gg_trg_help=CreateTrigger()
call TriggerAddAction(gg_trg_help,function Trig_help_Actions)
endfunction
function Trig_GongZi_Func001Func001C takes nothing returns boolean
if(not(GetPlayerSlotState(ConvertedPlayer(GetForLoopIndexA()))==PLAYER_SLOT_STATE_PLAYING))then
return false
endif
if(not(GetPlayerController(ConvertedPlayer(GetForLoopIndexA()))!=MAP_CONTROL_COMPUTER))then
return false
endif
return true
endfunction
function Trig_GongZi_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=7
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_GongZi_Func001Func001C())then
call AdjustPlayerStateBJ(10,ConvertedPlayer(GetForLoopIndexA()),PLAYER_STATE_RESOURCE_GOLD)
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_GongZi takes nothing returns nothing
set gg_trg_GongZi=CreateTrigger()
call DisableTrigger(gg_trg_GongZi)
call TriggerRegisterTimerEventPeriodic(gg_trg_GongZi,5.11)
call TriggerAddAction(gg_trg_GongZi,function Trig_GongZi_Actions)
endfunction
function Trig_GongZi2_Func001Func001C takes nothing returns boolean
if(not(GetPlayerSlotState(ConvertedPlayer(GetForLoopIndexA()))==PLAYER_SLOT_STATE_PLAYING))then
return false
endif
if(not(GetPlayerController(ConvertedPlayer(GetForLoopIndexA()))!=MAP_CONTROL_COMPUTER))then
return false
endif
return true
endfunction
function Trig_GongZi2_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=7
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_GongZi2_Func001Func001C())then
call AdjustPlayerStateBJ(5,ConvertedPlayer(GetForLoopIndexA()),PLAYER_STATE_RESOURCE_GOLD)
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_GongZi2 takes nothing returns nothing
set gg_trg_GongZi2=CreateTrigger()
call DisableTrigger(gg_trg_GongZi2)
call TriggerRegisterTimerEventPeriodic(gg_trg_GongZi2,5.12)
call TriggerAddAction(gg_trg_GongZi2,function Trig_GongZi2_Actions)
endfunction
function Trig_GongZi3_Func001Func001C takes nothing returns boolean
if(not(GetPlayerSlotState(ConvertedPlayer(GetForLoopIndexA()))==PLAYER_SLOT_STATE_PLAYING))then
return false
endif
if(not(GetPlayerController(ConvertedPlayer(GetForLoopIndexA()))!=MAP_CONTROL_COMPUTER))then
return false
endif
return true
endfunction
function Trig_GongZi3_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=7
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_GongZi3_Func001Func001C())then
call AdjustPlayerStateBJ(3,ConvertedPlayer(GetForLoopIndexA()),PLAYER_STATE_RESOURCE_GOLD)
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_GongZi3 takes nothing returns nothing
set gg_trg_GongZi3=CreateTrigger()
call DisableTrigger(gg_trg_GongZi3)
call TriggerRegisterTimerEventPeriodic(gg_trg_GongZi3,5.13)
call TriggerAddAction(gg_trg_GongZi3,function Trig_GongZi3_Actions)
endfunction
function Trig_PlayerInput_Func001C takes nothing returns boolean
if(not(GetEventPlayerChatString()=="-kill"))then
return false
endif
return true
endfunction
function Trig_PlayerInput_Func002Func005C takes nothing returns boolean
if((GetEventPlayerChatString()=="-JLW"))then
return true
endif
if((GetEventPlayerChatString()=="-jlw"))then
return true
endif
return false
endfunction
function Trig_PlayerInput_Func002C takes nothing returns boolean
if(not Trig_PlayerInput_Func002Func005C())then
return false
endif
if(not(UnitHasItemOfTypeBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],'I05H')==true))then
return false
endif
return true
endfunction
function Trig_PlayerInput_Func003Func001Func002C takes nothing returns boolean
if((SubStringBJ(GetEventPlayerChatString(),GetForLoopIndexB(),(GetForLoopIndexB()+1))=="I0"))then
return true
endif
if((SubStringBJ(GetEventPlayerChatString(),GetForLoopIndexB(),(GetForLoopIndexB()+1))=="i0"))then
return true
endif
return false
endfunction
function Trig_PlayerInput_Func003Func001C takes nothing returns boolean
if(not Trig_PlayerInput_Func003Func001Func002C())then
return false
endif
return true
endfunction
function Trig_PlayerInput_Actions takes nothing returns nothing
if(Trig_PlayerInput_Func001C())then
call KillUnit(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
else
endif
if(Trig_PlayerInput_Func002C())then
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_HINT,"|cffFF8040合成公式：|r|cff00FFFF(风)飘逸之戒+(土)锁链流星锤+(水)水之心=雅露的微笑")
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_HINT,"|cffFF8040合成公式：|r|cff00FFFF[风]闪电手套+[土]刻着神秘符纹的石锤+[水]海妖壳甲=雅露的温馨")
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_HINT,"|cffFF8040合成公式：|r|cff00FFFF雅露的微笑+雅露的温馨=精灵王战铠(神器)")
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_HINT,"请注意：你必须身上同时装备精灵王权杖才能进行以上合成")
else
endif
set bj_forLoopBIndex=1
set bj_forLoopBIndexEnd=30
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
if(Trig_PlayerInput_Func003Func001C())then
call PolledWait(GetRandomReal(180.,550.))
call SetUnitPositionLoc(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[91])
call UnitAddAbilityBJ('AUls',udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
call IssueImmediateOrder(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],"locustswarm")
call SetUnitOwner(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitVertexColorBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],100,100,100,100.)
call SetUnitPositionLoc(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[91])
call PauseUnitBJ(true,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
call RemoveUnit(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
set udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=null
call DestroyFogModifier(GetLastCreatedFogModifier())
call FogEnableOn()
call FogMaskEnableOn()
call SetFogStateRect(GetTriggerPlayer(),FOG_OF_WAR_MASKED,GetPlayableMapRect(),false)
else
endif
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
endfunction
function InitTrig_PlayerInput takes nothing returns nothing
set gg_trg_PlayerInput=CreateTrigger()
call TriggerRegisterPlayerChatEvent(gg_trg_PlayerInput,Player(0),"-",false)
call TriggerRegisterPlayerChatEvent(gg_trg_PlayerInput,Player(1),"-",false)
call TriggerRegisterPlayerChatEvent(gg_trg_PlayerInput,Player(2),"-",false)
call TriggerRegisterPlayerChatEvent(gg_trg_PlayerInput,Player(3),"-",false)
call TriggerRegisterPlayerChatEvent(gg_trg_PlayerInput,Player(4),"-",false)
call TriggerRegisterPlayerChatEvent(gg_trg_PlayerInput,Player(5),"-",false)
call TriggerRegisterPlayerChatEvent(gg_trg_PlayerInput,Player(6),"-",false)
call TriggerAddAction(gg_trg_PlayerInput,function Trig_PlayerInput_Actions)
endfunction
function Trig_PlayerKill_Func004Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[GetForLoopIndexA()]==GetConvertedPlayerId(ConvertedPlayer(S2I(SubStringBJ(GetEventPlayerChatString(),7,7))))))then
return false
endif
return true
endfunction
function Trig_PlayerKill_Func005Func001001001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n01J')
endfunction
function Trig_PlayerKill_Func005C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[895]==GetConvertedPlayerId(ConvertedPlayer(S2I(SubStringBJ(GetEventPlayerChatString(),7,7))))))then
return false
endif
return true
endfunction
function Trig_PlayerKill_Func006Func001001001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n01P')
endfunction
function Trig_PlayerKill_Func006C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[901]==GetConvertedPlayerId(ConvertedPlayer(S2I(SubStringBJ(GetEventPlayerChatString(),7,7))))))then
return false
endif
return true
endfunction
function Trig_PlayerKill_Actions takes nothing returns nothing
call CustomDefeatBJ(ConvertedPlayer(S2I(SubStringBJ(GetEventPlayerChatString(),7,7))),"失败!")
call DisplayTimedTextToForce(GetPlayersAll(),30,(("|cff00FFFF玩家："+GetPlayerName(ConvertedPlayer(S2I(SubStringBJ(GetEventPlayerChatString(),7,7)))))+"被主机踢出了游戏！"))
set bj_forLoopAIndex=911
set bj_forLoopAIndexEnd=915
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_PlayerKill_Func004Func001C())then
call SetUnitOwner(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[GetForLoopIndexA()],Player(PLAYER_NEUTRAL_PASSIVE),false)
call SetUnitMoveSpeed(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[GetForLoopIndexA()],150.)
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[GetForLoopIndexA()]=0
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_PlayerKill_Func005C())then
call RemoveUnit(FirstOfGroup(GetUnitsInRectMatching(GetPlayableMapRect(),Condition(function Trig_PlayerKill_Func005Func001001001002))))
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[895]=GetRandomLocInRect(gg_rct_Ogre_Shu)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[895],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[895],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),895)
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[895]=0
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[895])
else
endif
if(Trig_PlayerKill_Func006C())then
call RemoveUnit(FirstOfGroup(GetUnitsInRectMatching(GetPlayableMapRect(),Condition(function Trig_PlayerKill_Func006Func001001001002))))
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[901],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[901],bj_UNIT_FACING)
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetLastCreatedUnit())
call SetUnitUserData(GetLastCreatedUnit(),901)
call SetUnitMoveSpeed(GetLastCreatedUnit(),200.)
call IssuePointOrderLoc(GetLastCreatedUnit(),"patrol",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[902])
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[901]=0
else
endif
endfunction
function InitTrig_PlayerKill takes nothing returns nothing
set gg_trg_PlayerKill=CreateTrigger()
call TriggerRegisterPlayerChatEvent(gg_trg_PlayerKill,Player(0),"-fuck",false)
call TriggerAddAction(gg_trg_PlayerKill,function Trig_PlayerKill_Actions)
endfunction
function Trig_PlayerLeave_Func015Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[GetForLoopIndexA()]==GetConvertedPlayerId(GetTriggerPlayer())))then
return false
endif
return true
endfunction
function Trig_PlayerLeave_Func016Func001001001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n01J')
endfunction
function Trig_PlayerLeave_Func016C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[895]==GetConvertedPlayerId(GetTriggerPlayer())))then
return false
endif
return true
endfunction
function Trig_PlayerLeave_Func017Func001001001002 takes nothing returns boolean
return(GetUnitTypeId(GetFilterUnit())=='n01P')
endfunction
function Trig_PlayerLeave_Func017C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[901]==GetConvertedPlayerId(GetTriggerPlayer())))then
return false
endif
return true
endfunction
function Trig_PlayerLeave_Actions takes nothing returns nothing
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[18]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[18]-1)
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]-2)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call SetItemPositionLoc(UnitItemInSlotBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],GetForLoopIndexA()),GetRectCenter(gg_rct_______Road007))
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopBIndex=1
set bj_forLoopBIndexEnd=3
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call SetItemPositionLoc(UnitItemInSlotBJ(udg_M9P2Q7U5l4V5W9O45lO97041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*5)+GetForLoopIndexB())],GetForLoopIndexA()),udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[5])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
call RemoveUnit(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
set udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=null
call UnitApplyTimedLifeBJ(.1,'BTLF',udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
call ShowUnitHide(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
set udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=null
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_MISSIONFAILED,("|cffFF0066玩家："+(GetPlayerName(GetTriggerPlayer())+" 离开了游戏！")))
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),1,(GetConvertedPlayerId(GetTriggerPlayer())+1),("|cffE1E1E1"+GetPlayerName(GetTriggerPlayer())))
set bj_forLoopAIndex=911
set bj_forLoopAIndexEnd=915
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_PlayerLeave_Func015Func001C())then
call SetUnitOwner(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[GetForLoopIndexA()],Player(PLAYER_NEUTRAL_PASSIVE),false)
call SetUnitMoveSpeed(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[GetForLoopIndexA()],150.)
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[GetForLoopIndexA()]=0
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_PlayerLeave_Func016C())then
call RemoveUnit(FirstOfGroup(GetUnitsInRectMatching(GetPlayableMapRect(),Condition(function Trig_PlayerLeave_Func016Func001001001002))))
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[895]=GetRandomLocInRect(gg_rct_Ogre_Shu)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[895],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[895],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),895)
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[895]=0
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[895])
else
endif
if(Trig_PlayerLeave_Func017C())then
call RemoveUnit(FirstOfGroup(GetUnitsInRectMatching(GetPlayableMapRect(),Condition(function Trig_PlayerLeave_Func017Func001001001002))))
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[901],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[901],bj_UNIT_FACING)
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetLastCreatedUnit())
call SetUnitUserData(GetLastCreatedUnit(),901)
call SetUnitMoveSpeed(GetLastCreatedUnit(),200.)
call IssuePointOrderLoc(GetLastCreatedUnit(),"patrol",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[902])
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[901]=0
else
endif
endfunction
function InitTrig_PlayerLeave takes nothing returns nothing
set gg_trg_PlayerLeave=CreateTrigger()
call TriggerRegisterPlayerEventLeave(gg_trg_PlayerLeave,Player(0))
call TriggerRegisterPlayerEventLeave(gg_trg_PlayerLeave,Player(1))
call TriggerRegisterPlayerEventLeave(gg_trg_PlayerLeave,Player(2))
call TriggerRegisterPlayerEventLeave(gg_trg_PlayerLeave,Player(3))
call TriggerRegisterPlayerEventLeave(gg_trg_PlayerLeave,Player(4))
call TriggerRegisterPlayerEventLeave(gg_trg_PlayerLeave,Player(5))
call TriggerRegisterPlayerEventLeave(gg_trg_PlayerLeave,Player(6))
call TriggerAddAction(gg_trg_PlayerLeave,function Trig_PlayerLeave_Actions)
endfunction
function Trig_SBBB_Func009Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()]!=null))then
return false
endif
return true
endfunction
function Trig_SBBB_Func011Func001C takes nothing returns boolean
if(not(RectContainsUnit(gg_rct______________026,GetEnumUnit())==true))then
return false
endif
return true
endfunction
function Trig_SBBB_Func011A takes nothing returns nothing
if(Trig_SBBB_Func011Func001C())then
call SetUnitOwner(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetEnumUnit()))],Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitVertexColorBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetEnumUnit()))],100,100,100,100.)
call SetUnitPositionLoc(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetEnumUnit()))],udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[91])
call PauseUnitBJ(true,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetEnumUnit()))])
call RemoveUnit(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetEnumUnit()))])
set udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetEnumUnit()))]=null
call DestroyFogModifier(GetLastCreatedFogModifier())
call FogEnableOn()
call FogMaskEnableOn()
call SetFogStateRect(GetOwningPlayer(GetEnumUnit()),FOG_OF_WAR_MASKED,GetPlayableMapRect(),true)
else
endif
endfunction
function Trig_SBBB_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=7
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_SBBB_Func009Func001C())then
call CreateNUnitsAtLoc(1,'h013',ConvertedPlayer(GetForLoopIndexA()),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[91],bj_UNIT_FACING)
call IssuePointOrderLoc(GetLastCreatedUnit(),"blink",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[92])
call UnitApplyTimedLifeBJ(3.,'BTLF',GetLastCreatedUnit())
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call TriggerSleepAction(1.)
call ForGroupBJ(GetUnitsInRectAll(gg_rct______________026),function Trig_SBBB_Func011A)
endfunction
function InitTrig_SBBB takes nothing returns nothing
set gg_trg_SBBB=CreateTrigger()
call TriggerRegisterTimerEventSingle(gg_trg_SBBB,30.)
call TriggerRegisterTimerEventSingle(gg_trg_SBBB,400.)
call TriggerRegisterTimerEventSingle(gg_trg_SBBB,800.)
call TriggerRegisterTimerEventSingle(gg_trg_SBBB,1600.)
call TriggerRegisterTimerEventSingle(gg_trg_SBBB,2400.)
call TriggerRegisterTimerEventSingle(gg_trg_SBBB,3000.)
call TriggerRegisterTimerEventSingle(gg_trg_SBBB,3500.)
call TriggerAddAction(gg_trg_SBBB,function Trig_SBBB_Actions)
endfunction
function Trig_AI01_Conditions takes nothing returns boolean
if(not(GetUnitUserData(GetTriggerUnit())>200))then
return false
endif
return true
endfunction
function Trig_AI01_Func003C takes nothing returns boolean
if(not(GetUnitTypeId(GetAttackedUnitBJ())=='n00W'))then
return false
endif
if(not(GetRandomInt(1,15)<5))then
return false
endif
return true
endfunction
function Trig_AI01_Func005Func002C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I024')==true))then
return false
endif
if(not(GetRandomInt(55,65)>61))then
return false
endif
return true
endfunction
function Trig_AI01_Func005C takes nothing returns boolean
if(not(GetUnitTypeId(GetAttackedUnitBJ())=='n01F'))then
return false
endif
if(not(IsUnitAliveBJ(GetAttackedUnitBJ())==true))then
return false
endif
return true
endfunction
function Trig_AI01_Func007Func001C takes nothing returns boolean
if((GetUnitTypeId(GetAttacker())=='N01U'))then
return true
endif
if((GetUnitTypeId(GetAttacker())=='U00A'))then
return true
endif
if((GetUnitTypeId(GetAttacker())=='U005'))then
return true
endif
return false
endfunction
function Trig_AI01_Func007Func002Func005002002 takes nothing returns boolean
return(IsUnitEnemy(GetFilterUnit(),Player(11))==true)
endfunction
function Trig_AI01_Func007Func002Func006Func001C takes nothing returns boolean
if(not(IsUnitType(GetEnumUnit(),UNIT_TYPE_HERO)==true))then
return false
endif
if(not(IsUnitIllusionBJ(GetEnumUnit())!=true))then
return false
endif
return true
endfunction
function Trig_AI01_Func007Func002Func006A takes nothing returns nothing
if(Trig_AI01_Func007Func002Func006Func001C())then
call IssueTargetOrder(GetAttacker(),"attack",GetEnumUnit())
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
return
else
endif
endfunction
function Trig_AI01_Func007Func002C takes nothing returns boolean
if(not(IsUnitIllusionBJ(GetAttackedUnitBJ())==true))then
return false
endif
return true
endfunction
function Trig_AI01_Func007Func003C takes nothing returns boolean
if(not(GetRandomInt(1,10)<6))then
return false
endif
return true
endfunction
function Trig_AI01_Func007C takes nothing returns boolean
if(not Trig_AI01_Func007Func001C())then
return false
endif
return true
endfunction
function Trig_AI01_Func009C takes nothing returns boolean
if(not(GetUnitTypeId(GetAttackedUnitBJ())=='N01W'))then
return false
endif
if(not(GetRandomInt(1,10)<4))then
return false
endif
return true
endfunction
function Trig_AI01_Func011Func004Func001C takes nothing returns boolean
if(not(IsUnitEnemy(GetEnumUnit(),Player(0))==true))then
return false
endif
if(not(IsUnitAliveBJ(GetEnumUnit())==true))then
return false
endif
return true
endfunction
function Trig_AI01_Func011Func004A takes nothing returns nothing
if(Trig_AI01_Func011Func004Func001C())then
call IssueTargetOrder(GetEnumUnit(),"attack",GetAttacker())
else
endif
endfunction
function Trig_AI01_Func011C takes nothing returns boolean
if(not(GetTriggerUnit()==udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999]))then
return false
endif
if(not(GetUnitCurrentOrder(GetTriggerUnit())==String2OrderIdBJ("move")))then
return false
endif
return true
endfunction
function Trig_AI01_Actions takes nothing returns nothing
if(Trig_AI01_Func003C())then
call IssueImmediateOrder(GetAttackedUnitBJ(),"mirrorimage")
return
else
endif
if(Trig_AI01_Func005C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)]=GetUnitLoc(GetAttackedUnitBJ())
if(Trig_AI01_Func005Func002C())then
call CreateNUnitsAtLoc(1,'o004',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
else
call CreateNUnitsAtLoc(1,'n01J',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
endif
call SetUnitUserData(GetLastCreatedUnit(),GetUnitUserData(GetAttackedUnitBJ()))
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[GetUnitUserData(GetAttackedUnitBJ())]=GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))
call IssueTargetOrder(GetLastCreatedUnit(),"attack",GetAttacker())
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call UnitApplyTimedLifeBJ(1.,'BTLF',GetAttackedUnitBJ())
call ShowUnitHide(GetAttackedUnitBJ())
return
else
endif
if(Trig_AI01_Func007C())then
if(Trig_AI01_Func007Func002C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=GetUnitLoc(GetAttacker())
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)]=GetUnitLoc(GetAttackedUnitBJ())
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],850.,850.)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0]=GetUnitsInRectMatching(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],Condition(function Trig_AI01_Func007Func002Func005002002))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0],function Trig_AI01_Func007Func002Func006A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
else
endif
if(Trig_AI01_Func007Func003C())then
call IssueImmediateOrder(GetAttacker(),"howlofterror")
else
call IssueTargetOrder(GetAttacker(),"bloodlust",GetAttacker())
endif
return
else
endif
if(Trig_AI01_Func009C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)]=GetUnitLoc(GetAttackedUnitBJ())
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+12)]=GetUnitLoc(GetAttacker())
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)],800.,800.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+12)]=GetRandomLocInRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)])
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)])
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttackedUnitBJ()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)],bj_UNIT_FACING)
call UnitAddAbilityBJ('A0CR',GetLastCreatedUnit())
call UnitApplyTimedLifeBJ(3.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"clusterrockets",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+12)])
call DestroyEffect(GetLastCreatedEffectBJ())
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+12)])
else
endif
if(Trig_AI01_Func011C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)]=GetUnitLoc(GetAttackedUnitBJ())
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)],1500.,1500.)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0]=GetUnitsInRectAll(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)])
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0],function Trig_AI01_Func011Func004A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)])
else
endif
endfunction
function InitTrig_AI01 takes nothing returns nothing
set gg_trg_AI01=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_AI01,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(gg_trg_AI01,Condition(function Trig_AI01_Conditions))
call TriggerAddAction(gg_trg_AI01,function Trig_AI01_Actions)
endfunction
function Trig_AI02_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='ACfb'))then
return false
endif
if(not(GetUnitTypeId(GetTriggerUnit())=='n01D'))then
return false
endif
return true
endfunction
function Trig_AI02_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199]=GetRandomLocInRect(gg_rct_______Map)
call IssuePointOrderLoc(GetTriggerUnit(),"move",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199])
call TriggerSleepAction(8.)
call IssueImmediateOrder(GetTriggerUnit(),"stop")
endfunction
function InitTrig_AI02 takes nothing returns nothing
set gg_trg_AI02=CreateTrigger()
call DisableTrigger(gg_trg_AI02)
call TriggerRegisterAnyUnitEventBJ(gg_trg_AI02,EVENT_PLAYER_UNIT_SPELL_FINISH)
call TriggerAddCondition(gg_trg_AI02,Condition(function Trig_AI02_Conditions))
call TriggerAddAction(gg_trg_AI02,function Trig_AI02_Actions)
endfunction
function Trig_AI03_Func002Func001Func003C takes nothing returns boolean
if((GetUnitTypeId(GetEnumUnit())=='n004'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n00C'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n000'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n001'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n00F'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n01G'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n00D'))then
return true
endif
return false
endfunction
function Trig_AI03_Func002Func001C takes nothing returns boolean
if(not(IsUnitAliveBJ(GetEnumUnit())==true))then
return false
endif
if(not Trig_AI03_Func002Func001Func003C())then
return false
endif
return true
endfunction
function Trig_AI03_Func002A takes nothing returns nothing
if(Trig_AI03_Func002Func001C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[99]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[99]+1)
set udg_M9P2Q7U5l4V35W9O45lO7041D2G5K3[udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[99]]=GetEnumUnit()
else
endif
endfunction
function Trig_AI03_Func003Func001Func004A takes nothing returns nothing
call UnitAddItemSwapped(GetEnumItem(),udg_M9P2Q7U5l4V35W9O45lO7041D2G5K3[GetForLoopIndexA()])
endfunction
function Trig_AI03_Func003Func001Func008Func002C takes nothing returns boolean
if(not(R2I(DistanceBetweenPoints(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[1],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[2]))<udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[99]))then
return false
endif
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexB()])==true))then
return false
endif
return true
endfunction
function Trig_AI03_Func003Func001C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V35W9O45lO7041D2G5K3[GetForLoopIndexA()])==true))then
return false
endif
return true
endfunction
function Trig_AI03_Func004Func001Func002001003 takes nothing returns boolean
return(IsUnitAlly(GetEnumUnit(),Player(11))==true)
endfunction
function Trig_AI03_Func004Func001Func002A takes nothing returns nothing
call IssueTargetOrder(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])
endfunction
function Trig_AI03_Func004Func001C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])==true))then
return false
endif
return true
endfunction
function Trig_AI03_Actions takes nothing returns nothing
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[99]=0
call ForGroupBJ(GetUnitsInRectOfPlayer(GetPlayableMapRect(),Player(11)),function Trig_AI03_Func002A)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=100
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_AI03_Func003Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[1]=GetUnitLoc(udg_M9P2Q7U5l4V35W9O45lO7041D2G5K3[GetForLoopIndexA()])
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[1]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[1],200.,200.)
call EnumItemsInRectBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[1],function Trig_AI03_Func003Func001Func004A)
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[1])
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[99]=40000
set bj_forLoopBIndex=1
set bj_forLoopBIndexEnd=9
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[2]=GetUnitLoc(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexB()])
if(Trig_AI03_Func003Func001Func008Func002C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[99]=R2I(DistanceBetweenPoints(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[1],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[2]))
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[3])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[3]=GetUnitLoc(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexB()])
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[2])
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
call IssuePointOrderLoc(udg_M9P2Q7U5l4V35W9O45lO7041D2G5K3[GetForLoopIndexA()],"move",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[3])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[1])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[3])
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=9
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_AI03_Func004Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[1]=GetUnitLoc(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])
call ForGroupBJ(GetUnitsInRangeOfLocMatching(1000.,udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[1],Condition(function Trig_AI03_Func004Func001Func002001003)),function Trig_AI03_Func004Func001Func002A)
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_AI03 takes nothing returns nothing
set gg_trg_AI03=CreateTrigger()
call DisableTrigger(gg_trg_AI03)
call TriggerRegisterTimerEventPeriodic(gg_trg_AI03,6.)
call TriggerAddAction(gg_trg_AI03,function Trig_AI03_Actions)
endfunction
function Trig_AI04_Func001Func001Func002Func001Func002C takes nothing returns boolean
if((GetUnitTypeId(GetEnumUnit())=='n004'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n00C'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n000'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n001'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n00F'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n01G'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n00D'))then
return true
endif
return false
endfunction
function Trig_AI04_Func001Func001Func002Func001C takes nothing returns boolean
if(not(GetUnitCurrentOrder(GetEnumUnit())==String2OrderIdBJ("move")))then
return false
endif
if(not Trig_AI04_Func001Func001Func002Func001Func002C())then
return false
endif
return true
endfunction
function Trig_AI04_Func001Func001Func002A takes nothing returns nothing
if(Trig_AI04_Func001Func001Func002Func001C())then
call IssueTargetOrder(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])
else
endif
endfunction
function Trig_AI04_Func001Func001C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])==true))then
return false
endif
return true
endfunction
function Trig_AI04_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=9
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_AI04_Func001Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[5]=GetUnitLoc(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])
call ForGroupBJ(GetUnitsInRangeOfLocAll(1000.,udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[5]),function Trig_AI04_Func001Func001Func002A)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[5])
call DestroyGroup(GetLastCreatedGroup())
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_AI04 takes nothing returns nothing
set gg_trg_AI04=CreateTrigger()
call DisableTrigger(gg_trg_AI04)
call TriggerRegisterTimerEventPeriodic(gg_trg_AI04,.5)
call TriggerAddAction(gg_trg_AI04,function Trig_AI04_Actions)
endfunction
function Trig_OgreAdd_Conditions takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]<udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]))then
return false
endif
return true
endfunction
function Trig_OgreAdd_Func003C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<5))then
return false
endif
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]<10))then
return false
endif
return true
endfunction
function Trig_OgreAdd_Func005C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<9))then
return false
endif
return true
endfunction
function Trig_OgreAdd_Func007C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<13))then
return false
endif
return true
endfunction
function Trig_OgreAdd_Func009C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<16))then
return false
endif
return true
endfunction
function Trig_OgreAdd_Func011C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<20))then
return false
endif
return true
endfunction
function Trig_OgreAdd_Func013C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<23))then
return false
endif
return true
endfunction
function Trig_OgreAdd_Func015Func002Func005C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]>=3))then
return false
endif
return true
endfunction
function Trig_OgreAdd_Func015Func002Func007C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]>=3))then
return false
endif
return true
endfunction
function Trig_OgreAdd_Func015Func002Func009C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[20]*3)]>(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[20]*8)))then
return false
endif
return true
endfunction
function Trig_OgreAdd_Func015C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<100))then
return false
endif
return true
endfunction
function Trig_OgreAdd_Actions takes nothing returns nothing
if(Trig_OgreAdd_Func003C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]+4)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n004',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
return
else
endif
if(Trig_OgreAdd_Func005C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]+4)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n001',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
return
else
endif
if(Trig_OgreAdd_Func007C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]+8)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n001',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n000',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
return
else
endif
if(Trig_OgreAdd_Func009C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]+12)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n001',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n000',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n00C',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
return
else
endif
if(Trig_OgreAdd_Func011C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]+12)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n00F',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n01G',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n00C',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
return
else
endif
if(Trig_OgreAdd_Func013C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]+16)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n01G',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n00D',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n02H',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n02H',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
return
else
endif
if(Trig_OgreAdd_Func015C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]+16)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n02R',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n02R',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,'n02H',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
if(Trig_OgreAdd_Func015Func002Func005C())then
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[20]=udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[GetRandomInt(21,53)]
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[20],GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[20],GetLastCreatedUnit(),(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1))
else
endif
call CreateNUnitsAtLoc(1,'n02H',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
if(Trig_OgreAdd_Func015Func002Func007C())then
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[20]=udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[GetRandomInt(21,53)]
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[20],GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[20],GetLastCreatedUnit(),(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1))
else
endif
if(Trig_OgreAdd_Func015Func002Func009C())then
call CreateNUnitsAtLoc(1,'n02X',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[20]=udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[GetRandomInt(21,53)]
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[20],GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[20],GetLastCreatedUnit(),(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1))
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
return
else
endif
endfunction
function InitTrig_OgreAdd takes nothing returns nothing
set gg_trg_OgreAdd=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(gg_trg_OgreAdd,3.1)
call TriggerAddCondition(gg_trg_OgreAdd,Condition(function Trig_OgreAdd_Conditions))
call TriggerAddAction(gg_trg_OgreAdd,function Trig_OgreAdd_Actions)
endfunction
function Trig_OgreAdd2_Func002Func001C takes nothing returns boolean
if(not(GetOwningPlayer(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[(915+GetForLoopIndexA())])==Player(PLAYER_NEUTRAL_PASSIVE)))then
return false
endif
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[(915+GetForLoopIndexA())])==true))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func005C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999]!=null))then
return false
endif
if(not(GetUnitMoveSpeed(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999])<350.))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func007Func002Func002C takes nothing returns boolean
if(not(CountUnitsInGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])<80))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func007C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<5))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func009Func001Func002C takes nothing returns boolean
if(not(CountUnitsInGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])<80))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func009C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<10))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func011Func001Func002C takes nothing returns boolean
if(not(CountUnitsInGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])<80))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func011C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<13))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func013Func001Func002C takes nothing returns boolean
if(not(CountUnitsInGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])<80))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func013C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<16))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func015Func001Func002C takes nothing returns boolean
if(not(CountUnitsInGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])<80))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func015C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<20))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func017Func001Func002C takes nothing returns boolean
if(not(CountUnitsInGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])<80))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func017C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<23))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func019Func001Func002C takes nothing returns boolean
if(not(CountUnitsInGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])<80))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Func019C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<100))then
return false
endif
return true
endfunction
function Trig_OgreAdd2_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_OgreAdd2_Func002Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905]=GetRandomLocInRect(gg_rct_______Map)
call IssuePointOrderLoc(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[(915+GetForLoopIndexA())],"patrol",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_OgreAdd2_Func005C())then
call SetUnitUserData(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999],(GetUnitUserData(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999])+5))
call SetUnitMoveSpeed(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999],I2R(GetUnitUserData(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999])))
else
endif
if(Trig_OgreAdd2_Func007C())then
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()],Player(11))
if(Trig_OgreAdd2_Func007Func002Func002C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]+1)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n004',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),400.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
else
endif
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
return
else
endif
if(Trig_OgreAdd2_Func009C())then
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()],Player(11))
if(Trig_OgreAdd2_Func009Func001Func002C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]+1)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n001',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),500.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
else
endif
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
return
else
endif
if(Trig_OgreAdd2_Func011C())then
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()],Player(11))
if(Trig_OgreAdd2_Func011Func001Func002C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]+2)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n001',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),600.)
call CreateNUnitsAtLoc(1,'n000',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),600.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
else
endif
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
return
else
endif
if(Trig_OgreAdd2_Func013C())then
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()],Player(11))
if(Trig_OgreAdd2_Func013Func001Func002C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]+3)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n001',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),700.)
call CreateNUnitsAtLoc(1,'n000',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),700.)
call CreateNUnitsAtLoc(1,'n00C',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),700.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
else
endif
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
return
else
endif
if(Trig_OgreAdd2_Func015C())then
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()],Player(11))
if(Trig_OgreAdd2_Func015Func001Func002C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]+3)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n00F',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),800.)
call CreateNUnitsAtLoc(1,'n01G',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),800.)
call CreateNUnitsAtLoc(1,'n00C',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),800.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
else
endif
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
return
else
endif
if(Trig_OgreAdd2_Func017C())then
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()],Player(11))
if(Trig_OgreAdd2_Func017Func001Func002C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]+3)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n01G',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),1500.)
call CreateNUnitsAtLoc(1,'n00D',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),1500.)
call CreateNUnitsAtLoc(1,'n02H',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),1500.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
else
endif
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
return
else
endif
if(Trig_OgreAdd2_Func019C())then
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()],Player(11))
if(Trig_OgreAdd2_Func019Func001Func002C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]+4)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n02R',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),2000.)
call CreateNUnitsAtLoc(1,'n00D',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),2000.)
call CreateNUnitsAtLoc(1,'n02H',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),2000.)
call CreateNUnitsAtLoc(1,'n02H',Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call SetUnitAcquireRange(GetLastCreatedUnit(),2000.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
else
endif
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
return
else
endif
endfunction
function InitTrig_OgreAdd2 takes nothing returns nothing
set gg_trg_OgreAdd2=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(gg_trg_OgreAdd2,25.1)
call TriggerAddAction(gg_trg_OgreAdd2,function Trig_OgreAdd2_Actions)
endfunction
function Trig_OgreAdd4_Func002Func001001 takes nothing returns boolean
return(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]>15)
endfunction
function Trig_OgreAdd4_Func002Func001002 takes nothing returns boolean
return(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<50)
endfunction
function Trig_OgreAdd4_Func002C takes nothing returns boolean
if(not GetBooleanAnd(Trig_OgreAdd4_Func002Func001001(),Trig_OgreAdd4_Func002Func001002()))then
return false
endif
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[15]<2))then
return false
endif
return true
endfunction
function Trig_OgreAdd4_Func004Func001C takes nothing returns boolean
if(not(GetOwningPlayer(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[(910+GetForLoopIndexA())])==Player(PLAYER_NEUTRAL_PASSIVE)))then
return false
endif
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[(910+GetForLoopIndexA())])==true))then
return false
endif
return true
endfunction
function Trig_OgreAdd4_Actions takes nothing returns nothing
if(Trig_OgreAdd4_Func002C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[15]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[15]+4)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()])
call CreateNUnitsAtLoc(1,'n01D',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
else
endif
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_OgreAdd4_Func004Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905]=GetRandomLocInRect(gg_rct_______Map)
call IssuePointOrderLoc(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[(910+GetForLoopIndexA())],"patrol",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_OgreAdd4 takes nothing returns nothing
set gg_trg_OgreAdd4=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(gg_trg_OgreAdd4,60.25)
call TriggerAddAction(gg_trg_OgreAdd4,function Trig_OgreAdd4_Actions)
endfunction
function Trig_OgreDie_Conditions takes nothing returns boolean
if(not(IsUnitHiddenBJ(GetTriggerUnit())!=true))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func005C takes nothing returns boolean
if(not(GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))<11))then
return false
endif
if(not(GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))>0))then
return false
endif
if(not(IsUnitAlly(GetTriggerUnit(),Player(11))==true))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func007Func004C takes nothing returns boolean
if(not(GetRandomInt(1,20)>18))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func007C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='n01Y'))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func009Func005C takes nothing returns boolean
if(not(GetRandomInt(1,20)>18))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func009Func007Func001Func001001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==1)
endfunction
function Trig_OgreDie_Func009Func007Func001Func002001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==3)
endfunction
function Trig_OgreDie_Func009Func007Func001Func003001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==4)
endfunction
function Trig_OgreDie_Func009Func007Func001C takes nothing returns boolean
if(not(GetRandomInt(1,20)>7))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func009Func007C takes nothing returns boolean
if(not(GetRandomInt(1,20)==17))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func009C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='n01X'))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func011Func005Func002Func002001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==1)
endfunction
function Trig_OgreDie_Func011Func005Func002Func003001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==3)
endfunction
function Trig_OgreDie_Func011Func005Func002Func004001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==4)
endfunction
function Trig_OgreDie_Func011Func005Func002C takes nothing returns boolean
if(not(GetRandomInt(1,20)>15))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func011Func005C takes nothing returns boolean
if(not(GetRandomInt(1,20)>10))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func011C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='n01Z'))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func013Func007Func001C takes nothing returns boolean
if(not(GetRandomInt(1,10)>5))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func013Func007Func003001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==1)
endfunction
function Trig_OgreDie_Func013Func007Func004001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==3)
endfunction
function Trig_OgreDie_Func013Func007Func005001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==4)
endfunction
function Trig_OgreDie_Func013Func007C takes nothing returns boolean
if(not(GetRandomInt(1,25)==20))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func013C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='n020'))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func015Func002C takes nothing returns boolean
if((GetUnitTypeId(GetTriggerUnit())=='n004'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n001'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n000'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n00C'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n00F'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n00D'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n01G'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n02H'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n02R'))then
return true
endif
return false
endfunction
function Trig_OgreDie_Func015Func005Func001Func002001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==1)
endfunction
function Trig_OgreDie_Func015Func005Func001Func003001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==3)
endfunction
function Trig_OgreDie_Func015Func005Func001Func004001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==4)
endfunction
function Trig_OgreDie_Func015Func005Func001C takes nothing returns boolean
if(not(GetRandomInt(1,20)>10))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func015Func005C takes nothing returns boolean
if(not(GetRandomInt(1,30)==27))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func015C takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(PLAYER_NEUTRAL_AGGRESSIVE)))then
return false
endif
if(not Trig_OgreDie_Func015Func002C())then
return false
endif
return true
endfunction
function Trig_OgreDie_Func016Func002C takes nothing returns boolean
if((GetUnitTypeId(GetTriggerUnit())=='n004'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n001'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n000'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n00C'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n00F'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n00D'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n01G'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n02H'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n02R'))then
return true
endif
return false
endfunction
function Trig_OgreDie_Func016C takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(11)))then
return false
endif
if(not Trig_OgreDie_Func016Func002C())then
return false
endif
return true
endfunction
function Trig_OgreDie_Func018Func001C takes nothing returns boolean
if((GetUnitTypeId(GetTriggerUnit())=='u00F'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='u00G'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n02F'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='u00H'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n02D'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n02C'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n02B'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n00J'))then
return true
endif
return false
endfunction
function Trig_OgreDie_Func018C takes nothing returns boolean
if(not Trig_OgreDie_Func018Func001C())then
return false
endif
return true
endfunction
function Trig_OgreDie_Func020Func003Func002001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==1)
endfunction
function Trig_OgreDie_Func020Func003Func003001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==3)
endfunction
function Trig_OgreDie_Func020Func003Func004001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==4)
endfunction
function Trig_OgreDie_Func020Func003C takes nothing returns boolean
if(not(GetRandomInt(1,10)<4))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func020C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='n01D'))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func022Func017C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]!=0))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func022Func021Func001C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])==true))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func022Func022C takes nothing returns boolean
if(not(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)>250))then
return false
endif
return true
endfunction
function Trig_OgreDie_Func022C takes nothing returns boolean
if(not(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)==true))then
return false
endif
if(not(GetConvertedPlayerId(GetTriggerPlayer())<11))then
return false
endif
return true
endfunction
function Trig_OgreDie_Actions takes nothing returns nothing
if(Trig_OgreDie_Func005C())then
set udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*10)+1)]=(udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*10)+1)]+.1)
set udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*10)+2)]=(udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*10)+2)]+1.)
set udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*10)+3)]=(udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*10)+3)]+1.)
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),3,(GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))]+R2SW(udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*10)+1)],1,1)))
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),9,(GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))]+I2S(R2I(udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*10)+2)]))))
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),10,(GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))]+I2S(R2I(udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*10)+3)]))))
else
endif
if(Trig_OgreDie_Func007C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+15)]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetRandomInt(1,4)])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)]=GetUnitLoc(GetDyingUnit())
call CreateNUnitsAtLoc(1,'n01Y',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+15)],bj_UNIT_FACING)
if(Trig_OgreDie_Func007Func004C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(41,48)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(1,15)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+15)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
endif
if(Trig_OgreDie_Func009C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+15)]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetRandomInt(1,4)])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)]=GetUnitLoc(GetDyingUnit())
call CreateNUnitsAtLoc(1,'n01X',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+15)],bj_UNIT_FACING)
call SetUnitRescueRange(GetLastCreatedUnit(),3000.)
if(Trig_OgreDie_Func009Func005C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(61,68)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(41,48)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
endif
if(Trig_OgreDie_Func009Func007C())then
if(Trig_OgreDie_Func009Func007Func001C())then
if(Trig_OgreDie_Func009Func007Func001Func001001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(141,143)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call DoNothing()
endif
if(Trig_OgreDie_Func009Func007Func001Func002001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(144,146)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call DoNothing()
endif
if(Trig_OgreDie_Func009Func007Func001Func003001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(147,149)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call DoNothing()
endif
else
endif
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+15)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
endif
if(Trig_OgreDie_Func011C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+15)]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetRandomInt(1,4)])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)]=GetUnitLoc(GetDyingUnit())
call CreateNUnitsAtLoc(1,'n01Z',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+15)],bj_UNIT_FACING)
call SetUnitRescueRange(GetLastCreatedUnit(),3000.)
if(Trig_OgreDie_Func011Func005C())then
if(Trig_OgreDie_Func011Func005Func002C())then
if(Trig_OgreDie_Func011Func005Func002Func002001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(141,143)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call DoNothing()
endif
if(Trig_OgreDie_Func011Func005Func002Func003001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(144,146)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call DoNothing()
endif
if(Trig_OgreDie_Func011Func005Func002Func004001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(147,149)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call DoNothing()
endif
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(141,149)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
endif
else
endif
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(61,68)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+15)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
endif
if(Trig_OgreDie_Func013C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+15)]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[0])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)]=GetUnitLoc(GetDyingUnit())
call CreateNUnitsAtLoc(1,'n020',Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+15)],bj_UNIT_FACING)
call SetUnitRescueRange(GetLastCreatedUnit(),3000.)
if(Trig_OgreDie_Func013Func007C())then
if(Trig_OgreDie_Func013Func007Func001C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[180],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[179],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
call SetItemUserData(GetLastCreatedItem(),21)
endif
else
if(Trig_OgreDie_Func013Func007Func003001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(141,143)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call DoNothing()
endif
if(Trig_OgreDie_Func013Func007Func004001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(144,146)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call DoNothing()
endif
if(Trig_OgreDie_Func013Func007Func005001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(147,149)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call DoNothing()
endif
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(61,68)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+15)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
endif
if(Trig_OgreDie_Func015C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]-1)
if(Trig_OgreDie_Func015Func005C())then
if(Trig_OgreDie_Func015Func005Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)]=GetUnitLoc(GetDyingUnit())
if(Trig_OgreDie_Func015Func005Func001Func002001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(141,143)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call DoNothing()
endif
if(Trig_OgreDie_Func015Func005Func001Func003001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(144,146)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call DoNothing()
endif
if(Trig_OgreDie_Func015Func005Func001Func004001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(147,149)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
call DoNothing()
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+16)])
else
endif
else
endif
else
endif
if(Trig_OgreDie_Func016C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[13]-1)
else
endif
if(Trig_OgreDie_Func018C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[16]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[16]+1)
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]-1)
else
endif
if(Trig_OgreDie_Func020C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[15]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[15]-1)
if(Trig_OgreDie_Func020Func003C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)]=GetUnitLoc(GetDyingUnit())
if(Trig_OgreDie_Func020Func003Func002001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(141,143)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call DoNothing()
endif
if(Trig_OgreDie_Func020Func003Func003001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(144,146)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call DoNothing()
endif
if(Trig_OgreDie_Func020Func003Func004001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(147,149)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call DoNothing()
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
endif
else
endif
if(Trig_OgreDie_Func022C())then
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[91],0)
call SetUnitAnimation(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[0],"death")
call TriggerSleepAction(.1)
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=3
set udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*10)+4)]=(udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*10)+4)]+1.)
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),8,(GetConvertedPlayerId(GetTriggerPlayer())+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+I2S(R2I(udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*10)+4)]))))
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+1)]=Location(21761.,-20366.)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+1)],0)
call CreateNUnitsAtLoc(1,'e004',GetOwningPlayer(GetTriggerUnit()),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+1)],bj_UNIT_FACING)
call SelectUnitForPlayerSingle(gg_unit_n01H_0182,GetOwningPlayer(GetTriggerUnit()))
if(Trig_OgreDie_Func022Func017C())then
call SetPlayerStateBJ(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD,(GetPlayerState(GetOwningPlayer(GetTriggerUnit()),PLAYER_STATE_RESOURCE_GOLD)/2))
else
endif
set udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+1)]=GetLastCreatedUnit()
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+1)])
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=9
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_OgreDie_Func022Func021Func001C())then
return
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_OgreDie_Func022Func022C())then
return
else
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_MISSIONFAILED,"|cff00FFFF任务失败：\n1.全部英雄死亡\n2.最后死亡玩家金币数小于250！")
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=9
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CustomDefeatBJ(ConvertedPlayer(GetForLoopIndexA()),"失败!")
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endif
else
endif
endfunction
function InitTrig_OgreDie takes nothing returns nothing
set gg_trg_OgreDie=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_OgreDie,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(gg_trg_OgreDie,Condition(function Trig_OgreDie_Conditions))
call TriggerAddAction(gg_trg_OgreDie,function Trig_OgreDie_Actions)
endfunction
function Trig_HeroUP_Conditions takes nothing returns boolean
if(not(IsUnitAlly(GetTriggerUnit(),Player(0))==true))then
return false
endif
return true
endfunction
function Trig_HeroUP_Func003Func002001 takes nothing returns boolean
return(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<4)
endfunction
function Trig_HeroUP_Func003C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<GetHeroLevel(GetTriggerUnit())))then
return false
endif
return true
endfunction
function Trig_HeroUP_Func005C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]!=null))then
return false
endif
return true
endfunction
function Trig_HeroUP_Actions takes nothing returns nothing
if(Trig_HeroUP_Func003C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]=GetHeroLevel(GetTriggerUnit())
if(Trig_HeroUP_Func003Func002001())then
call DisplayTextToForce(GetPlayersAll(),"|cffff0000英雄等级到6级将有BOSS降临，如果没天使手镯，将可能抵挡不住BOSS的攻击！|r\n|cff00FFFF注意小地图上紫色的圆圈信号，那代表BOSS的移动方位！|r")
else
call DoNothing()
endif
else
endif
if(Trig_HeroUP_Func005C())then
call SetUnitAbilityLevelSwapped('A0CE',udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))],GetUnitLevel(GetTriggerUnit()))
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)]=GetUnitLoc(GetTriggerUnit())
call CreateTextTagLocBJ("战兽升级",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)],150.,15.,.0,100.,100.,50.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)])
call SetTextTagVelocityBJ(GetLastCreatedTextTag(),64,90)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),3.)
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),7,(GetConvertedPlayerId(GetTriggerPlayer())+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+I2S(GetUnitLevel(GetTriggerUnit()))))
else
endif
endfunction
function InitTrig_HeroUP takes nothing returns nothing
set gg_trg_HeroUP=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_HeroUP,EVENT_PLAYER_HERO_LEVEL)
call TriggerAddCondition(gg_trg_HeroUP,Condition(function Trig_HeroUP_Conditions))
call TriggerAddAction(gg_trg_HeroUP,function Trig_HeroUP_Actions)
endfunction
function Trig_HeroUP2_Func001Func002Func001Func002C takes nothing returns boolean
if((GetUnitTypeId(GetEnumUnit())=='n004'))then
return true
endif
return false
endfunction
function Trig_HeroUP2_Func001Func002Func001C takes nothing returns boolean
if(not Trig_HeroUP2_Func001Func002Func001Func002C())then
return false
endif
return true
endfunction
function Trig_HeroUP2_Func001Func002A takes nothing returns nothing
if(Trig_HeroUP2_Func001Func002Func001C())then
call SetUnitAcquireRange(GetEnumUnit(),1000.)
else
endif
endfunction
function Trig_HeroUP2_Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]>=10))then
return false
endif
return true
endfunction
function Trig_HeroUP2_Actions takes nothing returns nothing
if(Trig_HeroUP2_Func001C())then
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0]=GetUnitsInRectOfPlayer(GetPlayableMapRect(),Player(11))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0],function Trig_HeroUP2_Func001Func002A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call EnableTrigger(gg_trg_AI02)
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]+(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[18]*2))
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103]='A0BS'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104]='A0BW'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105]='A0C3'
call DisableTrigger(GetTriggeringTrigger())
else
endif
endfunction
function InitTrig_HeroUP2 takes nothing returns nothing
set gg_trg_HeroUP2=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_HeroUP2,EVENT_PLAYER_HERO_LEVEL)
call TriggerAddAction(gg_trg_HeroUP2,function Trig_HeroUP2_Actions)
endfunction
function Trig_HeroUP3_Func001Func002Func001Func002C takes nothing returns boolean
if((GetUnitTypeId(GetEnumUnit())=='n004'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n001'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n00C'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n00B'))then
return true
endif
if((GetUnitTypeId(GetEnumUnit())=='n00F'))then
return true
endif
return false
endfunction
function Trig_HeroUP3_Func001Func002Func001C takes nothing returns boolean
if(not Trig_HeroUP3_Func001Func002Func001Func002C())then
return false
endif
return true
endfunction
function Trig_HeroUP3_Func001Func002A takes nothing returns nothing
if(Trig_HeroUP3_Func001Func002Func001C())then
call SetUnitAcquireRange(GetEnumUnit(),1000.)
else
endif
endfunction
function Trig_HeroUP3_Func001Func011001002 takes nothing returns boolean
return(GetUnitPointValue(GetFilterUnit())==9)
endfunction
function Trig_HeroUP3_Func001Func011A takes nothing returns nothing
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[12]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[12]+1)
endfunction
function Trig_HeroUP3_Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]>=20))then
return false
endif
return true
endfunction
function Trig_HeroUP3_Actions takes nothing returns nothing
if(Trig_HeroUP3_Func001C())then
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0]=GetUnitsInRectOfPlayer(GetPlayableMapRect(),Player(11))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0],function Trig_HeroUP3_Func001Func002A)
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]+(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[18]*3))
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103]='A0BV'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104]='A0BZ'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105]='A0C6'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106]='A020'
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[12]=0
call ForGroupBJ(GetUnitsInRectMatching(GetPlayableMapRect(),Condition(function Trig_HeroUP3_Func001Func011001002)),function Trig_HeroUP3_Func001Func011A)
call DisableTrigger(GetTriggeringTrigger())
else
endif
endfunction
function InitTrig_HeroUP3 takes nothing returns nothing
set gg_trg_HeroUP3=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_HeroUP3,EVENT_PLAYER_HERO_LEVEL)
call TriggerAddAction(gg_trg_HeroUP3,function Trig_HeroUP3_Actions)
endfunction
function Trig_HeroRelive_Conditions takes nothing returns boolean
if(not(IsUnitAlly(GetTriggerUnit(),Player(0))==true))then
return false
endif
return true
endfunction
function Trig_HeroRelive_Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[17]>0))then
return false
endif
return true
endfunction
function Trig_HeroRelive_Actions takes nothing returns nothing
if(Trig_HeroRelive_Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+1)]=GetRectCenter(gg_rct_______Road007)
else
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+1)]=GetRandomLocInRect(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetRandomInt(1,4)])
endif
call SetUnitPositionLoc(GetTriggerUnit(),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+1)])
call SetUnitManaPercentBJ(GetTriggerUnit(),100)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+1)],0)
call SelectUnitForPlayerSingle(GetTriggerUnit(),GetTriggerPlayer())
call UnitApplyTimedLifeBJ(.1,'BTLF',udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+1)])
call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()),0,0,"*.输入-kill自杀，当英雄重生被地形卡住时使用")
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+1)])
endfunction
function InitTrig_HeroRelive takes nothing returns nothing
set gg_trg_HeroRelive=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_HeroRelive,EVENT_PLAYER_HERO_REVIVE_FINISH)
call TriggerAddCondition(gg_trg_HeroRelive,Condition(function Trig_HeroRelive_Conditions))
call TriggerAddAction(gg_trg_HeroRelive,function Trig_HeroRelive_Actions)
endfunction
function Trig_HeroReliveSelect_Func001C takes nothing returns boolean
if(not(IsUnitType(GetTriggerUnit(),UNIT_TYPE_PEON)==true))then
return false
endif
return true
endfunction
function Trig_HeroReliveSelect_Actions takes nothing returns nothing
if(Trig_HeroReliveSelect_Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*100)+1)]=Location(21761.,-20366.)
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*100)+1)],0)
call SelectUnitForPlayerSingle(gg_unit_n01H_0182,GetTriggerPlayer())
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*100)+1)])
else
endif
endfunction
function InitTrig_HeroReliveSelect takes nothing returns nothing
set gg_trg_HeroReliveSelect=CreateTrigger()
call TriggerRegisterPlayerSelectionEventBJ(gg_trg_HeroReliveSelect,Player(0),true)
call TriggerRegisterPlayerSelectionEventBJ(gg_trg_HeroReliveSelect,Player(1),true)
call TriggerRegisterPlayerSelectionEventBJ(gg_trg_HeroReliveSelect,Player(2),true)
call TriggerRegisterPlayerSelectionEventBJ(gg_trg_HeroReliveSelect,Player(3),true)
call TriggerRegisterPlayerSelectionEventBJ(gg_trg_HeroReliveSelect,Player(4),true)
call TriggerRegisterPlayerSelectionEventBJ(gg_trg_HeroReliveSelect,Player(5),true)
call TriggerRegisterPlayerSelectionEventBJ(gg_trg_HeroReliveSelect,Player(6),true)
call TriggerAddAction(gg_trg_HeroReliveSelect,function Trig_HeroReliveSelect_Actions)
endfunction
function Trig_ZhongLi_Func001C takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(PLAYER_NEUTRAL_PASSIVE)))then
return false
endif
return true
endfunction
function Trig_ZhongLi_Actions takes nothing returns nothing
if(Trig_ZhongLi_Func001C())then
call SetUnitOwner(GetTriggerUnit(),Player(PLAYER_NEUTRAL_AGGRESSIVE),false)
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_ALWAYSHINT,("|cffff0000"+(GetPlayerName(GetOwningPlayer(GetAttacker()))+("攻击了"+(GetUnitName(GetTriggerUnit())+"，  愤怒的中立生物决定对入侵者展开疯狂的报复！|r")))))
call SetUnitMoveSpeed(GetTriggerUnit(),300.)
call SetUnitAcquireRange(GetTriggerUnit(),20000.)
call IssueTargetOrder(GetTriggerUnit(),"attack",GetAttacker())
call PingMinimapLocForForce(GetPlayersAll(),GetUnitLoc(GetTriggerUnit()),5.)
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[GetUnitUserData(GetTriggerUnit())]=GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))
return
else
endif
endfunction
function InitTrig_ZhongLi takes nothing returns nothing
set gg_trg_ZhongLi=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_ZhongLi,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddAction(gg_trg_ZhongLi,function Trig_ZhongLi_Actions)
endfunction
function Trig_BossA_Conditions takes nothing returns boolean
if(not(IsPlayerAlly(GetOwningPlayer(GetTriggerUnit()),Player(0))==true))then
return false
endif
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]>=6))then
return false
endif
return true
endfunction
function Trig_BossA_Actions takes nothing returns nothing
call DestroyTimerDialog(udg_M9P2Q7U5l4V5W9O45lO7041D2GO5K3[1])
call EnableTrigger(gg_trg_BossNew)
call TriggerExecute(gg_trg_BossB)
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_BossA takes nothing returns nothing
set gg_trg_BossA=CreateTrigger()
call DisableTrigger(gg_trg_BossA)
call TriggerRegisterAnyUnitEventBJ(gg_trg_BossA,EVENT_PLAYER_HERO_LEVEL)
call TriggerAddCondition(gg_trg_BossA,Condition(function Trig_BossA_Conditions))
call TriggerAddAction(gg_trg_BossA,function Trig_BossA_Actions)
endfunction
function Trig_BossB_Actions takes nothing returns nothing
call PlaySoundBJ(gg_snd_Sound01)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201]=Location(-544.,-12973.)
call CreateNUnitsAtLoc(1,'N01W',Player(2),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201],bj_UNIT_FACING)
call SetUnitOwner(GetLastCreatedUnit(),Player(PLAYER_NEUTRAL_AGGRESSIVE),false)
call SetUnitUserData(GetLastCreatedUnit(),R2I(GetUnitDefaultMoveSpeed(GetLastCreatedUnit())))
call UnitAddItemByIdSwapped('I04E',GetLastCreatedUnit())
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999]=GetLastCreatedUnit()
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
call StartTimerBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[1],false,udg_M9P2Q7U5l4V5W9O45lO70N41D2G5K3)
call CreateTimerDialogBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[1],"憎恨之王降临倒计时")
set udg_M9P2Q7U5l4V5W9O45lO7041D2GO5K3[1]=GetLastCreatedTimerDialogBJ()
set udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3=2
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_BossB takes nothing returns nothing
set gg_trg_BossB=CreateTrigger()
call TriggerAddAction(gg_trg_BossB,function Trig_BossB_Actions)
endfunction
function Trig_BossC_Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3==2))then
return false
endif
return true
endfunction
function Trig_BossC_Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3==3))then
return false
endif
return true
endfunction
function Trig_BossC_Func003C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3==4))then
return false
endif
return true
endfunction
function Trig_BossC_Func004C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3==5))then
return false
endif
return true
endfunction
function Trig_BossC_Func005Func007A takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_BossC_Func005Func011A takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_BossC_Func005C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3>=6))then
return false
endif
return true
endfunction
function Trig_BossC_Actions takes nothing returns nothing
if(Trig_BossC_Func001C())then
call PlaySoundBJ(gg_snd_Sound01)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201]=Location(-544.,-12973.)
call CreateNUnitsAtLoc(1,'N01Q',Player(2),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201],bj_UNIT_FACING)
call SetUnitOwner(GetLastCreatedUnit(),Player(PLAYER_NEUTRAL_AGGRESSIVE),false)
call SetUnitUserData(GetLastCreatedUnit(),R2I(GetUnitDefaultMoveSpeed(GetLastCreatedUnit())))
call UnitAddItemByIdSwapped('I041',GetLastCreatedUnit())
call SetItemUserData(GetLastCreatedItem(),31)
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999]=GetLastCreatedUnit()
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
call StartTimerBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[1],false,udg_M9P2Q7U5l4V5W9O45lO70N41D2G5K3)
call TimerDialogSetTitle(udg_M9P2Q7U5l4V5W9O45lO7041D2GO5K3[1],"痛苦之王降临倒计时")
set udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3=(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3+1)
call DisableTrigger(gg_trg_XH2)
return
else
endif
if(Trig_BossC_Func002C())then
call PlaySoundBJ(gg_snd_Sound01)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201]=Location(-544.,-12973.)
call CreateNUnitsAtLoc(1,'U005',Player(2),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201],bj_UNIT_FACING)
call SetUnitOwner(GetLastCreatedUnit(),Player(PLAYER_NEUTRAL_AGGRESSIVE),false)
call SetUnitUserData(GetLastCreatedUnit(),R2I(GetUnitDefaultMoveSpeed(GetLastCreatedUnit())))
call UnitAddItemByIdSwapped('I020',GetLastCreatedUnit())
call SetItemUserData(GetLastCreatedItem(),31)
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999]=GetLastCreatedUnit()
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
call StartTimerBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[1],false,udg_M9P2Q7U5l4V5W9O45lO70N41D2G5K3)
call TimerDialogSetTitle(udg_M9P2Q7U5l4V5W9O45lO7041D2GO5K3[1],"折磨女王降临倒计时")
set udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3=(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3+1)
return
else
endif
if(Trig_BossC_Func003C())then
call PlaySoundBJ(gg_snd_Sound01)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201]=Location(-544.,-12973.)
call CreateNUnitsAtLoc(1,'U00A',Player(2),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201],bj_UNIT_FACING)
call SetUnitOwner(GetLastCreatedUnit(),Player(PLAYER_NEUTRAL_AGGRESSIVE),false)
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999]=GetLastCreatedUnit()
call SetUnitUserData(GetLastCreatedUnit(),R2I(GetUnitDefaultMoveSpeed(GetLastCreatedUnit())))
call SetUnitFlyHeight(GetLastCreatedUnit(),300.,.0)
call UnitAddItemByIdSwapped('I01O',GetLastCreatedUnit())
call SetItemUserData(GetLastCreatedItem(),31)
call UnitAddAbilityBJ('A0AU',GetLastCreatedUnit())
call UnitAddAbilityBJ('Amrf',GetLastCreatedUnit())
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
call StartTimerBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[1],false,udg_M9P2Q7U5l4V5W9O45lO70N41D2G5K3)
call TimerDialogSetTitle(udg_M9P2Q7U5l4V5W9O45lO7041D2GO5K3[1],"破坏之王降临倒计时")
set udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3=(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3+1)
return
else
endif
if(Trig_BossC_Func004C())then
call PlaySoundBJ(gg_snd_Sound01)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201]=Location(-544.,-12973.)
call CreateNUnitsAtLoc(1,'N01U',Player(2),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201],bj_UNIT_FACING)
call SetUnitOwner(GetLastCreatedUnit(),Player(PLAYER_NEUTRAL_AGGRESSIVE),false)
call SetUnitPathing(GetLastCreatedUnit(),false)
call SetUnitUserData(GetLastCreatedUnit(),R2I(GetUnitDefaultMoveSpeed(GetLastCreatedUnit())))
call UnitAddItemByIdSwapped('I047',GetLastCreatedUnit())
call SetItemUserData(GetLastCreatedItem(),31)
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999]=GetLastCreatedUnit()
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
call StartTimerBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[1],false,udg_M9P2Q7U5l4V5W9O45lO70N41D2G5K3)
call TimerDialogSetTitle(udg_M9P2Q7U5l4V5W9O45lO7041D2GO5K3[1],"第二幕任务倒计")
set udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3=(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3+1)
return
else
endif
if(Trig_BossC_Func005C())then
call DestroyTimerDialog(udg_M9P2Q7U5l4V5W9O45lO7041D2GO5K3[1])
call DisableTrigger(gg_trg_Ogre_Show)
call DisableTrigger(gg_trg_Ogre_Show2)
call DisableTrigger(gg_trg_Area_GoBack)
call DisableTrigger(gg_trg_Ogre_Relive)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(gg_rct______________021,Player(11))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1],function Trig_BossC_Func005Func007A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[5],Player(11))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1],function Trig_BossC_Func005Func011A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call TriggerExecute(gg_trg_Sec_Start)
call EnableTrigger(gg_trg_Sec_Ami1)
call EnableTrigger(gg_trg_SEC_AmiGoIN)
call EnableTrigger(gg_trg_Sec_XH)
call EnableTrigger(gg_trg_Sec_Out)
call EnableTrigger(gg_trg_Sec_GoBack)
call EnableTrigger(gg_trg_SEC_heroIN)
call EnableTrigger(gg_trg_Sec_Die)
call EnableTrigger(gg_trg_Sec_AI)
call DestroyTrigger(GetTriggeringTrigger())
else
endif
endfunction
function InitTrig_BossC takes nothing returns nothing
set gg_trg_BossC=CreateTrigger()
call TriggerRegisterTimerExpireEventBJ(gg_trg_BossC,udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[1])
call TriggerAddAction(gg_trg_BossC,function Trig_BossC_Actions)
endfunction
function Trig_BossBaWu_Conditions takes nothing returns boolean
if(not(IsUnitEnemy(GetTriggerUnit(),Player(0))==true))then
return false
endif
return true
endfunction
function Trig_BossBaWu_Func002C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='N01W'))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
return true
endfunction
function Trig_BossBaWu_Func003C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='N01Q'))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
return true
endfunction
function Trig_BossBaWu_Func004C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='U005'))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
return true
endfunction
function Trig_BossBaWu_Func005C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='U00A'))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
return true
endfunction
function Trig_BossBaWu_Func006C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='N01U'))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
return true
endfunction
function Trig_BossBaWu_Actions takes nothing returns nothing
if(Trig_BossBaWu_Func002C())then
call PlaySoundBJ(gg_snd_Sound04)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201]=GetUnitLoc(GetTriggerUnit())
call CreateItemLoc('I04E',udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
else
endif
if(Trig_BossBaWu_Func003C())then
call PlaySoundBJ(gg_snd_Sound04)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201]=GetUnitLoc(GetTriggerUnit())
call CreateItemLoc('I041',udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
else
endif
if(Trig_BossBaWu_Func004C())then
call PlaySoundBJ(gg_snd_Sound04)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201]=GetUnitLoc(GetTriggerUnit())
call CreateItemLoc('I020',udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
call CreateItemLoc('I01G',udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
else
endif
if(Trig_BossBaWu_Func005C())then
call PlaySoundBJ(gg_snd_Sound04)
call UnitApplyTimedLifeBJ(.1,'BTLF',udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[12])
call ShowUnitHide(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[12])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201]=GetUnitLoc(GetTriggerUnit())
call CreateItemLoc('I01O',udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
else
endif
if(Trig_BossBaWu_Func006C())then
call PlaySoundBJ(gg_snd_Sound04)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201]=GetUnitLoc(GetTriggerUnit())
call CreateItemLoc('I047',udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
call DestroyTrigger(GetTriggeringTrigger())
else
endif
endfunction
function InitTrig_BossBaWu takes nothing returns nothing
set gg_trg_BossBaWu=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_BossBaWu,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(gg_trg_BossBaWu,Condition(function Trig_BossBaWu_Conditions))
call TriggerAddAction(gg_trg_BossBaWu,function Trig_BossBaWu_Actions)
endfunction
function Trig_BossNew_Conditions takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999]!=null))then
return false
endif
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999])==true))then
return false
endif
return true
endfunction
function Trig_BossNew_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[999]=GetUnitLoc(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[999])
call PingMinimapLocForForceEx(GetPlayersAll(),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[999],1,bj_MINIMAPPINGSTYLE_SIMPLE,100.,.0,100)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[999])
endfunction
function InitTrig_BossNew takes nothing returns nothing
set gg_trg_BossNew=CreateTrigger()
call DisableTrigger(gg_trg_BossNew)
call TriggerRegisterTimerEventPeriodic(gg_trg_BossNew,5.)
call TriggerAddCondition(gg_trg_BossNew,Condition(function Trig_BossNew_Conditions))
call TriggerAddAction(gg_trg_BossNew,function Trig_BossNew_Actions)
endfunction
function Trig_XH_Func002Func001Func002Func001001 takes nothing returns boolean
return(GetHeroStatBJ(bj_HEROSTAT_STR,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],false)>185)
endfunction
function Trig_XH_Func002Func001Func002Func002001 takes nothing returns boolean
return(GetHeroStatBJ(bj_HEROSTAT_AGI,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],false)>60)
endfunction
function Trig_XH_Func002Func001Func002Func003001 takes nothing returns boolean
return(GetHeroStatBJ(bj_HEROSTAT_INT,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],false)>40)
endfunction
function Trig_XH_Func002Func001Func002C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()]),1,5)=="[力]"))then
return false
endif
return true
endfunction
function Trig_XH_Func002Func001Func003Func001001 takes nothing returns boolean
return(GetHeroStatBJ(bj_HEROSTAT_STR,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],false)>100)
endfunction
function Trig_XH_Func002Func001Func003Func002001 takes nothing returns boolean
return(GetHeroStatBJ(bj_HEROSTAT_AGI,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],false)>108)
endfunction
function Trig_XH_Func002Func001Func003Func003001 takes nothing returns boolean
return(GetHeroStatBJ(bj_HEROSTAT_INT,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],false)>60)
endfunction
function Trig_XH_Func002Func001Func003C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()]),1,5)=="[敏]"))then
return false
endif
return true
endfunction
function Trig_XH_Func002Func001Func004Func001001 takes nothing returns boolean
return(GetHeroStatBJ(bj_HEROSTAT_STR,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],false)>100)
endfunction
function Trig_XH_Func002Func001Func004Func002001 takes nothing returns boolean
return(GetHeroStatBJ(bj_HEROSTAT_AGI,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],false)>105)
endfunction
function Trig_XH_Func002Func001Func004Func003001 takes nothing returns boolean
return(GetHeroStatBJ(bj_HEROSTAT_INT,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],false)>65)
endfunction
function Trig_XH_Func002Func001Func004C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()]),1,5)=="[弓]"))then
return false
endif
return true
endfunction
function Trig_XH_Func002Func001Func005Func001001 takes nothing returns boolean
return(GetHeroStatBJ(bj_HEROSTAT_STR,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],false)>60)
endfunction
function Trig_XH_Func002Func001Func005Func002001 takes nothing returns boolean
return(GetHeroStatBJ(bj_HEROSTAT_AGI,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],false)>60)
endfunction
function Trig_XH_Func002Func001Func005Func003001 takes nothing returns boolean
return(GetHeroStatBJ(bj_HEROSTAT_INT,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],false)>225)
endfunction
function Trig_XH_Func002Func001Func005C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()]),1,5)=="[魔]"))then
return false
endif
return true
endfunction
function Trig_XH_Func002Func001Func006Func001C takes nothing returns boolean
if((udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3[GetForLoopIndexA()]==1))then
return true
endif
if((GetUnitStateSwap(UNIT_STATE_MAX_LIFE,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])>=20000.))then
return true
endif
return false
endfunction
function Trig_XH_Func002Func001Func006C takes nothing returns boolean
if(not Trig_XH_Func002Func001Func006Func001C())then
return false
endif
return true
endfunction
function Trig_XH_Func002Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()]!=null))then
return false
endif
return true
endfunction
function Trig_XH_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=7
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_XH_Func002Func001C())then
if(Trig_XH_Func002Func001Func002C())then
if(Trig_XH_Func002Func001Func002Func001001())then
set udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3[GetForLoopIndexA()]=1
else
call DoNothing()
endif
if(Trig_XH_Func002Func001Func002Func002001())then
set udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3[GetForLoopIndexA()]=1
else
call DoNothing()
endif
if(Trig_XH_Func002Func001Func002Func003001())then
set udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3[GetForLoopIndexA()]=1
else
call DoNothing()
endif
else
endif
if(Trig_XH_Func002Func001Func003C())then
if(Trig_XH_Func002Func001Func003Func001001())then
set udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3[GetForLoopIndexA()]=1
else
call DoNothing()
endif
if(Trig_XH_Func002Func001Func003Func002001())then
set udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3[GetForLoopIndexA()]=1
else
call DoNothing()
endif
if(Trig_XH_Func002Func001Func003Func003001())then
set udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3[GetForLoopIndexA()]=1
else
call DoNothing()
endif
else
endif
if(Trig_XH_Func002Func001Func004C())then
if(Trig_XH_Func002Func001Func004Func001001())then
set udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3[GetForLoopIndexA()]=1
else
call DoNothing()
endif
if(Trig_XH_Func002Func001Func004Func002001())then
set udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3[GetForLoopIndexA()]=1
else
call DoNothing()
endif
if(Trig_XH_Func002Func001Func004Func003001())then
set udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3[GetForLoopIndexA()]=1
else
call DoNothing()
endif
else
endif
if(Trig_XH_Func002Func001Func005C())then
if(Trig_XH_Func002Func001Func005Func001001())then
set udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3[GetForLoopIndexA()]=1
else
call DoNothing()
endif
if(Trig_XH_Func002Func001Func005Func002001())then
set udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3[GetForLoopIndexA()]=1
else
call DoNothing()
endif
if(Trig_XH_Func002Func001Func005Func003001())then
set udg_M9P2Q7U5l4CV5W9O45lO7041D2G5K3[GetForLoopIndexA()]=1
else
call DoNothing()
endif
else
endif
if(Trig_XH_Func002Func001Func006C())then
call SetUnitOwner(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],Player(PLAYER_NEUTRAL_PASSIVE),true)
call SetUnitVertexColorBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],100,100,100,100.)
call SetUnitPositionLoc(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()],udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[91])
call PauseUnitBJ(true,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])
call RemoveUnit(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetForLoopIndexA()])
set udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetForLoopIndexA()]=null
call DestroyFogModifier(GetLastCreatedFogModifier())
call FogEnableOn()
call FogMaskEnableOn()
call SetFogStateRect(ConvertedPlayer(GetForLoopIndexA()),FOG_OF_WAR_MASKED,GetPlayableMapRect(),true)
else
endif
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_XH takes nothing returns nothing
set gg_trg_XH=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(gg_trg_XH,600.)
call TriggerAddAction(gg_trg_XH,function Trig_XH_Actions)
endfunction
function Trig_XH2_Func001Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()]!=null))then
return false
endif
return true
endfunction
function Trig_XH2_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=7
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_XH2_Func001Func001C())then
call UnitAddAbilityBJ('Avul',udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])
call UnitRemoveAbilityBJ('Avul',udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_XH2 takes nothing returns nothing
set gg_trg_XH2=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(gg_trg_XH2,60.02)
call TriggerAddAction(gg_trg_XH2,function Trig_XH2_Actions)
endfunction
function Trig_PetA1_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[1]='nplg'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[2]='nsll'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[3]='nslv'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[4]='nthl'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[5]='npfm'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[6]='nfel'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[7]='nwld'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[8]='nwlg'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[9]='nwlt'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[10]='nwwd'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[11]='nwwf'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[12]='nltl'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[13]='nspd'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[14]='nslr'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[15]='nstw'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[16]='nslh'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[17]='nmdr'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[18]='nmit'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[19]='nnwq'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[20]='nnws'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[21]='nnwa'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[22]='nqb1'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[23]='nscb'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[24]='nwwg'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[25]='nlkl'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[26]='nlsn'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[27]='nlds'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[28]='ntrd'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[29]='ntrg'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[30]='ntrs'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[31]='nsnp'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[32]='nqb4'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[33]='ucry'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[52]='n02L'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[53]='n02N'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[54]='n02M'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[55]='n02P'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[56]='h01D'
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[58]='u00K'
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[1]=140.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[2]=120.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[3]=120.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[4]=120.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[5]=175.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[6]=175.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[7]=160.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[8]=160.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[9]=160.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[10]=160.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[11]=160.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[12]=120.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[13]=155.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[14]=120.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[15]=120.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[16]=120.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[17]=120.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[18]=120.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[19]=155.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[20]=155.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[21]=155.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[22]=220.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[23]=230.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[24]=160.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[25]=120.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[26]=120.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[27]=120.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[28]=95.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[29]=95.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[30]=95.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[31]=160.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[32]=300.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[33]=150.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[51]=140.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[52]=140.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[53]=140.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[54]=140.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[55]=140.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[56]=130.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[57]=160.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[58]=120.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[59]=160.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[60]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[61]=160.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[62]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[401]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[402]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[403]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[404]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[405]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[406]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[407]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[408]=115.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[409]=115.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[410]=115.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[411]=115.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[412]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[413]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[414]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[415]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[416]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[417]=115.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[418]=115.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[419]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[420]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[421]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[422]=100.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[423]=60.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[424]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[425]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[426]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[427]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[428]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[429]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[430]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[431]=70.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[432]=100.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[433]=110.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[451]=240.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[452]=240.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[453]=240.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[454]=240.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[455]=250.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[456]=270.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[457]=270.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[458]=270.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[459]=270.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[460]=270.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[461]=270.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[462]=260.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[651]=260.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[652]=260.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[653]=260.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[654]=260.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[655]=260.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[656]=260.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[657]=260.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[658]=260.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[659]=240.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[660]=260.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[661]=240.
set udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[662]=260.
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201]=Location(-544.,-12973.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[29],Player(PLAYER_NEUTRAL_AGGRESSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201],bj_UNIT_FACING)
call UnitAddAbilityBJ('A0CE',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A0CE',GetLastCreatedUnit(),1)
call UnitApplyTimedLifeBJ(.1,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904]=GetRandomLocInRect(gg_rct_______Map)
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[0]=GetRandomInt(1,33)
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[0]],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904],bj_UNIT_FACING)
call SetUnitScalePercent(GetLastCreatedUnit(),udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[0]],100,100)
call UnitAddAbilityBJ('A020',GetLastCreatedUnit())
call UnitAddAbilityBJ('A0C7',GetLastCreatedUnit())
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[(910+GetForLoopIndexA())]=GetLastCreatedUnit()
call SetUnitUserData(GetLastCreatedUnit(),(910+GetForLoopIndexA()))
call SetUnitMoveSpeed(GetLastCreatedUnit(),150.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905]=GetRandomLocInRect(gg_rct_______Map)
call IssuePointOrderLoc(GetLastCreatedUnit(),"patrol",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_PetA1 takes nothing returns nothing
set gg_trg_PetA1=CreateTrigger()
call TriggerAddAction(gg_trg_PetA1,function Trig_PetA1_Actions)
endfunction
function Trig_PetA2_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A03C'))then
return false
endif
if(not(GetOwningPlayer(GetSpellTargetUnit())==Player(PLAYER_NEUTRAL_PASSIVE)))then
return false
endif
return true
endfunction
function Trig_PetA2_Func001C takes nothing returns boolean
if(not(GetUnitUserData(GetSpellTargetUnit())<911))then
return false
endif
return true
endfunction
function Trig_PetA2_Func002Func003Func001C takes nothing returns boolean
if(not(GetUnitTypeId(GetSpellTargetUnit())==udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[GetForLoopIndexA()]))then
return false
endif
return true
endfunction
function Trig_PetA2_Func002C takes nothing returns boolean
if(not(GetRandomInt(1,12)>(12-GetUnitAbilityLevelSwapped(GetSpellAbilityId(),GetTriggerUnit()))))then
return false
endif
return true
endfunction
function Trig_PetA2_Func004Func001Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[GetForLoopIndexB()]!=null))then
return false
endif
return true
endfunction
function Trig_PetA2_Actions takes nothing returns nothing
if(Trig_PetA2_Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_ALWAYSHINT,"|cffFF0000该单位不能捕捉！")
return
else
endif
if(Trig_PetA2_Func002C())then
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_ALWAYSHINT,("|cffFFFF00"+(GetPlayerName(GetTriggerPlayer())+("使用辅助技能-诱捕，幸运的捕捉到了战兽 "+(GetUnitName(GetSpellTargetUnit())+"|r")))))
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=61
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_PetA2_Func002Func003Func001C())then
call UnitAddItemByIdSwapped('I04N',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),(1000+GetForLoopIndexA()))
call ShowUnitHide(GetSpellTargetUnit())
call KillUnit(GetSpellTargetUnit())
return
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
else
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_ALWAYSHINT,("|cffFF00FF捕捉失败，技能等级越高捕捉成功率越高，当前捕捉率："+(I2S(GetUnitAbilityLevelSwapped(GetSpellAbilityId(),GetTriggerUnit()))+"/10")))
endif
call TriggerSleepAction(5.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=20
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set bj_forLoopBIndex=916
set bj_forLoopBIndexEnd=921
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
if(Trig_PetA2_Func004Func001Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905]=GetRandomLocInRect(gg_rct_______Map)
call IssuePointOrderLoc(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[GetForLoopIndexB()],"patrol",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
else
endif
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
call TriggerSleepAction(1.)
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_PetA2 takes nothing returns nothing
set gg_trg_PetA2=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_PetA2,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(gg_trg_PetA2,Condition(function Trig_PetA2_Conditions))
call TriggerAddAction(gg_trg_PetA2,function Trig_PetA2_Actions)
endfunction
function Trig_PetB1_Conditions takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04N'))then
return false
endif
if(not(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)==true))then
return false
endif
return true
endfunction
function Trig_PetB1_Func001C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='E005'))then
return false
endif
return true
endfunction
function Trig_PetB1_Func008Func001Func001C takes nothing returns boolean
if(not(GetUnitTypeId(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])==udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[GetForLoopIndexA()]))then
return false
endif
return true
endfunction
function Trig_PetB1_Func008C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]!=null))then
return false
endif
return true
endfunction
function Trig_PetB1_Actions takes nothing returns nothing
if(Trig_PetB1_Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,"火神状态下不能骑宠！")
return
else
endif
call UnitRemoveItemSwapped(GetManipulatedItem(),GetTriggerUnit())
if(Trig_PetB1_Func008C())then
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=63
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_PetB1_Func008Func001Func001C())then
call UnitAddItemByIdSwapped('I04N',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),(1000+GetForLoopIndexA()))
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call UnitApplyTimedLifeBJ(.1,'BTLF',udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])
call ShowUnitHide(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])
else
endif
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*10)+4)]=GetUnitLoc(GetTriggerUnit())
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[(GetItemUserData(GetManipulatedItem())-1000)],GetOwningPlayer(GetTriggerUnit()),udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*10)+4)],GetUnitFacing(GetTriggerUnit()))
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*10)+4)])
set udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedUnit()
call SetUnitUserData(GetLastCreatedUnit(),GetUnitUserData(GetTriggerUnit()))
set udg_M9P2Q7U5l4V5W9O45l3O7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[(200+(GetItemUserData(GetManipulatedItem())-1000))]
call UnitAddAbilityBJ('A0CE',udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
call SetUnitAbilityLevelSwapped('A0CE',udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],GetUnitLevel(GetTriggerUnit()))
call UnitAddAbilityBJ('Aloc',GetLastCreatedUnit())
call SetUnitPathing(GetLastCreatedUnit(),false)
call SetUnitScalePercent(GetLastCreatedUnit(),udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[(GetItemUserData(GetManipulatedItem())-1000)],100,100)
call UnitAddAbilityBJ('Amrf',GetLastCreatedUnit())
call UnitRemoveAbilityBJ('Amrf',GetLastCreatedUnit())
call SetUnitFlyHeight(GetLastCreatedUnit(),udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[(600+(GetItemUserData(GetManipulatedItem())-1000))],.0)
call SetUnitTurnSpeed(GetLastCreatedUnit(),.1)
call SetUnitBlendTime(GetLastCreatedUnit(),.1)
call UnitAddAbilityBJ('A0CF',GetTriggerUnit())
call UnitAddAbilityBJ('A0CD',GetTriggerUnit())
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,'A0CF')
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,'A0CD')
call SetPlayerAbilityAvailableBJ(false,'A0CF',GetOwningPlayer(GetTriggerUnit()))
call UnitAddAbilityBJ('A0CZ',GetTriggerUnit())
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,'A0CZ')
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,'A0CY')
call SetPlayerAbilityAvailableBJ(false,'A0CZ',GetOwningPlayer(GetTriggerUnit()))
call UnitAddAbilityBJ('Amrf',GetTriggerUnit())
call UnitRemoveAbilityBJ('Amrf',GetTriggerUnit())
call SetUnitFlyHeight(GetTriggerUnit(),udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[(400+(GetItemUserData(GetManipulatedItem())-1000))],.0)
call TriggerRegisterUnitEvent(gg_trg_PetH1,GetTriggerUnit(),EVENT_UNIT_ACQUIRED_TARGET)
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),6,(GetConvertedPlayerId(GetTriggerPlayer())+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+GetUnitName(GetLastCreatedUnit())))
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=1
call RemoveItem(GetManipulatedItem())
endfunction
function InitTrig_PetB1 takes nothing returns nothing
set gg_trg_PetB1=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_PetB1,EVENT_PLAYER_UNIT_USE_ITEM)
call TriggerAddCondition(gg_trg_PetB1,Condition(function Trig_PetB1_Conditions))
call TriggerAddAction(gg_trg_PetB1,function Trig_PetB1_Actions)
endfunction
function Trig_PetB2_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A0CD'))then
return false
endif
if(not(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]!=null))then
return false
endif
return true
endfunction
function Trig_PetB2_Func001C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='E005'))then
return false
endif
return true
endfunction
function Trig_PetB2_Func017Func001Func001C takes nothing returns boolean
if(not(GetUnitTypeId(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])==udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[GetForLoopIndexA()]))then
return false
endif
return true
endfunction
function Trig_PetB2_Func017C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]!=null))then
return false
endif
return true
endfunction
function Trig_PetB2_Actions takes nothing returns nothing
if(Trig_PetB2_Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,"火神状态下不能卸载！")
return
else
endif
call TriggerSleepAction(.5)
call SetPlayerAbilityAvailableBJ(true,'A0CF',GetTriggerPlayer())
call UnitRemoveAbilityBJ('A0CD',GetTriggerUnit())
call UnitRemoveAbilityBJ('A0CF',GetTriggerUnit())
call SetPlayerAbilityAvailableBJ(true,'A0CZ',GetTriggerPlayer())
call UnitRemoveAbilityBJ('A0CY',GetTriggerUnit())
call UnitRemoveAbilityBJ('A0CZ',GetTriggerUnit())
call SetUnitFlyHeight(GetTriggerUnit(),GetUnitDefaultFlyHeight(GetTriggerUnit()),.0)
call SetUnitBlendTime(GetTriggerUnit(),.15)
if(Trig_PetB2_Func017C())then
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=63
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_PetB2_Func017Func001Func001C())then
call UnitAddItemByIdSwapped('I04N',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),(1000+GetForLoopIndexA()))
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call UnitApplyTimedLifeBJ(5.,'BTLF',udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])
call ShowUnitHide(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])
set udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=null
else
endif
endfunction
function InitTrig_PetB2 takes nothing returns nothing
set gg_trg_PetB2=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_PetB2,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(gg_trg_PetB2,Condition(function Trig_PetB2_Conditions))
call TriggerAddAction(gg_trg_PetB2,function Trig_PetB2_Actions)
endfunction
function Trig_PetC1_Func001Func001Func009C takes nothing returns boolean
if(not(udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(GetForLoopIndexA()+10)]!=2))then
return false
endif
return true
endfunction
function Trig_PetC1_Func001Func001C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])==true))then
return false
endif
if(not(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetForLoopIndexA()]!=null))then
return false
endif
if(not(udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[GetForLoopIndexA()]==1))then
return false
endif
if(not(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()]==null))then
return false
endif
if(not(IsUnitHiddenBJ(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetForLoopIndexA()])!=true))then
return false
endif
return true
endfunction
function Trig_PetC1_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=7
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_PetC1_Func001Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetForLoopIndexA()*10)+1)]=GetUnitLoc(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])
call SetUnitX(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetForLoopIndexA()],GetLocationX(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetForLoopIndexA()*10)+1)]))
call SetUnitY(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetForLoopIndexA()],GetLocationY(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetForLoopIndexA()*10)+1)]))
call SetUnitFacing(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetForLoopIndexA()],GetUnitFacing(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()]))
if(Trig_PetC1_Func001Func001Func009C())then
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetForLoopIndexA()*10)+1)])
else
endif
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_PetC1 takes nothing returns nothing
set gg_trg_PetC1=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(gg_trg_PetC1,.04)
call TriggerAddAction(gg_trg_PetC1,function Trig_PetC1_Actions)
endfunction
function Trig_PetD1_Func007C takes nothing returns boolean
if((GetUnitCurrentOrder(GetTriggerUnit())==String2OrderIdBJ("smart")))then
return true
endif
if((GetUnitCurrentOrder(GetTriggerUnit())==String2OrderIdBJ("patrol")))then
return true
endif
if((GetUnitCurrentOrder(GetTriggerUnit())==String2OrderIdBJ("move")))then
return true
endif
return false
endfunction
function Trig_PetD1_Conditions takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]!=null))then
return false
endif
if(not(GetTriggerUnit()==udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]))then
return false
endif
if(not Trig_PetD1_Func007C())then
return false
endif
return true
endfunction
function Trig_PetD1_Func001Func002Func001C takes nothing returns boolean
if(not(GetUnitTypeId(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])==udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[GetForLoopIndexB()]))then
return false
endif
return true
endfunction
function Trig_PetD1_Func001C takes nothing returns boolean
if(not(GetUnitFlyHeight(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])<40.))then
return false
endif
return true
endfunction
function Trig_PetD1_Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]==null))then
return false
endif
return true
endfunction
function Trig_PetD1_Func004Func007C takes nothing returns boolean
if(not(DistanceBetweenPoints(udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*20)+1)],udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*20)+2)])>4657.))then
return false
endif
if(not(udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(20+GetConvertedPlayerId(GetTriggerPlayer()))]==0))then
return false
endif
return true
endfunction
function Trig_PetD1_Func004C takes nothing returns boolean
if(not(udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(10+GetConvertedPlayerId(GetTriggerPlayer()))]==0))then
return false
endif
return true
endfunction
function Trig_PetD1_Actions takes nothing returns nothing
if(Trig_PetD1_Func001C())then
set bj_forLoopBIndex=1
set bj_forLoopBIndexEnd=63
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
if(Trig_PetD1_Func001Func002Func001C())then
call UnitAddAbilityBJ('Amrf',udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
call UnitRemoveAbilityBJ('Amrf',udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
call SetUnitFlyHeight(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[(400+GetForLoopIndexB())],.0)
call UnitRemoveAbilityBJ('Aloc',udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
call UnitAddAbilityBJ('Aloc',udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
else
endif
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
else
endif
if(Trig_PetD1_Func002C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+5)]=GetOrderPointLoc()
call IssuePointOrderByIdLoc(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))],851986,udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+5)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+5)])
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=1
call SetUnitBlendTime(GetTriggerUnit(),2000.)
else
endif
if(Trig_PetD1_Func004C())then
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(10+GetConvertedPlayerId(GetTriggerPlayer()))]=1
set udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*20)+1)]=GetUnitLoc(GetTriggerUnit())
call TriggerSleepAction(3.)
set udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*20)+2)]=GetUnitLoc(GetTriggerUnit())
if(Trig_PetD1_Func004Func007C())then
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(10+GetConvertedPlayerId(GetTriggerPlayer()))]=2
else
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(10+GetConvertedPlayerId(GetTriggerPlayer()))]=0
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(20+GetConvertedPlayerId(GetTriggerPlayer()))]=0
endif
call RemoveLocation(udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*20)+1)])
call RemoveLocation(udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*20)+2)])
else
endif
endfunction
function InitTrig_PetD1 takes nothing returns nothing
set gg_trg_PetD1=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_PetD1,EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER)
call TriggerAddCondition(gg_trg_PetD1,Condition(function Trig_PetD1_Conditions))
call TriggerAddAction(gg_trg_PetD1,function Trig_PetD1_Actions)
endfunction
function Trig_PetD2_Func005C takes nothing returns boolean
if((GetUnitCurrentOrder(GetTriggerUnit())==String2OrderIdBJ("smart")))then
return true
endif
if((GetUnitCurrentOrder(GetTriggerUnit())==String2OrderIdBJ("attack")))then
return true
endif
return false
endfunction
function Trig_PetD2_Conditions takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]!=null))then
return false
endif
if(not(GetTriggerUnit()==udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]))then
return false
endif
if(not Trig_PetD2_Func005C())then
return false
endif
return true
endfunction
function Trig_PetD2_Func002Func003C takes nothing returns boolean
if(not(IsUnitEnemy(GetOrderTargetUnit(),Player(0))==true))then
return false
endif
return true
endfunction
function Trig_PetD2_Func002Func004C takes nothing returns boolean
if(not(CheckItemStatus(GetOrderTargetItem(),bj_ITEM_STATUS_HIDDEN)!=true))then
return false
endif
return true
endfunction
function Trig_PetD2_Func002Func006001 takes nothing returns boolean
return(GetUnitCurrentOrder(GetTriggerUnit())==String2OrderIdBJ(""))
endfunction
function Trig_PetD2_Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]==null))then
return false
endif
return true
endfunction
function Trig_PetD2_Actions takes nothing returns nothing
if(Trig_PetD2_Func002C())then
call SetUnitBlendTime(GetTriggerUnit(),2000.)
if(Trig_PetD2_Func002Func003C())then
call IssueTargetOrder(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],"attack",GetOrderTargetUnit())
else
call IssueTargetOrder(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],"move",GetOrderTargetUnit())
endif
if(Trig_PetD2_Func002Func004C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+6)]=GetItemLoc(GetOrderTargetItem())
call IssuePointOrderByIdLoc(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],851986,udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+6)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+6)])
else
endif
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=1
loop
exitwhen(Trig_PetD2_Func002Func006001())
call TriggerSleepAction(RMaxBJ(bj_WAIT_FOR_COND_MIN_INTERVAL,1.))
endloop
call IssueImmediateOrder(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],"holdposition")
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=0
else
endif
endfunction
function InitTrig_PetD2 takes nothing returns nothing
set gg_trg_PetD2=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_PetD2,EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER)
call TriggerAddCondition(gg_trg_PetD2,Condition(function Trig_PetD2_Conditions))
call TriggerAddAction(gg_trg_PetD2,function Trig_PetD2_Actions)
endfunction
function Trig_PetE1_Conditions takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))]!=null))then
return false
endif
if(not(GetAttacker()==udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))]))then
return false
endif
if(not(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))]==null))then
return false
endif
if(not(IsUnitHiddenBJ(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))])!=true))then
return false
endif
return true
endfunction
function Trig_PetE1_Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))]==1))then
return false
endif
return true
endfunction
function Trig_PetE1_Func004Func005Func014Func001C takes nothing returns boolean
if(not(GetRandomInt(1,10)<7))then
return false
endif
return true
endfunction
function Trig_PetE1_Func004Func005Func014C takes nothing returns boolean
if(not(IsUnitType(GetAttackedUnitBJ(),UNIT_TYPE_STRUCTURE)==true))then
return false
endif
return true
endfunction
function Trig_PetE1_Func004C takes nothing returns boolean
if(not(GetRandomInt(1,12)<3))then
return false
endif
if(not(udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(30+GetConvertedPlayerId(GetOwningPlayer(GetAttacker())))]==0))then
return false
endif
return true
endfunction
function Trig_PetE1_Actions takes nothing returns nothing
call SetUnitBlendTime(GetAttacker(),.15)
if(Trig_PetE1_Func002C())then
call IssueTargetOrder(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))],"attack",GetAttackedUnitBJ())
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))]=0
else
endif
if(Trig_PetE1_Func004C())then
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(30+GetConvertedPlayerId(GetOwningPlayer(GetAttacker())))]=1
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=2
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*10)+9)]=GetUnitLoc(GetAttacker())
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*10)+8)]=PolarProjectionBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*10)+9)],200.,GetRandomReal(0,270.))
call CreateNUnitsAtLoc(1,GetUnitTypeId(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))]),GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*10)+8)],GetUnitFacing(GetAttacker()))
call SetUnitUserData(GetLastCreatedUnit(),GetUnitUserData(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))]))
call UnitApplyTimedLifeBJ(20.,'BTLF',GetLastCreatedUnit())
call SetUnitUserData(GetLastCreatedUnit(),2000)
call SetUnitScalePercent(GetLastCreatedUnit(),80.,100,100)
call SetUnitAcquireRange(GetLastCreatedUnit(),30000.)
call UnitAddAbilityBJ('A0CX',GetLastCreatedUnit())
call UnitAddAbilityBJ('Amrf',GetLastCreatedUnit())
call UnitAddAbilityBJ('A0CE',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A0CE',GetLastCreatedUnit(),GetUnitLevel(GetAttacker()))
call UnitAddAbilityBJ('Aloc',GetLastCreatedUnit())
if(Trig_PetE1_Func004Func005Func014C())then
if(Trig_PetE1_Func004Func005Func014Func001C())then
call IssueTargetOrder(GetLastCreatedUnit(),"attack",GetAttackedUnitBJ())
else
endif
else
call IssueTargetOrder(GetLastCreatedUnit(),"attack",GetAttackedUnitBJ())
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*10)+9)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*10)+8)])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call TriggerSleepAction(15.)
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(30+GetConvertedPlayerId(GetOwningPlayer(GetAttacker())))]=0
else
endif
endfunction
function InitTrig_PetE1 takes nothing returns nothing
set gg_trg_PetE1=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_PetE1,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(gg_trg_PetE1,Condition(function Trig_PetE1_Conditions))
call TriggerAddAction(gg_trg_PetE1,function Trig_PetE1_Actions)
endfunction
function Trig_PetF1_Func001Func001Func004Func001C takes nothing returns boolean
if(not(GetUnitCurrentOrder(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])==String2OrderIdBJ("")))then
return false
endif
return true
endfunction
function Trig_PetF1_Func001Func001Func004C takes nothing returns boolean
if(not(DistanceBetweenPoints(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetForLoopIndexA()*10)+2)],udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetForLoopIndexA()*10)+3)])>=(40.+udg_M9P2Q7U5l4V5W9O45l3O7041D2G5K3[GetForLoopIndexA()])))then
return false
endif
return true
endfunction
function Trig_PetF1_Func001Func001C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])==true))then
return false
endif
if(not(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetForLoopIndexA()]!=null))then
return false
endif
if(not(udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[GetForLoopIndexA()]==0))then
return false
endif
if(not(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()]==null))then
return false
endif
if(not(IsUnitHiddenBJ(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetForLoopIndexA()])!=true))then
return false
endif
return true
endfunction
function Trig_PetF1_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=7
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_PetF1_Func001Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetForLoopIndexA()*10)+2)]=GetUnitLoc(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetForLoopIndexA()])
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetForLoopIndexA()*10)+3)]=GetUnitLoc(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetForLoopIndexA()])
if(Trig_PetF1_Func001Func001Func004C())then
if(Trig_PetF1_Func001Func001Func004Func001C())then
call IssuePointOrderByIdLoc(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetForLoopIndexA()],851986,udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetForLoopIndexA()*10)+2)])
else
endif
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[GetForLoopIndexA()]=1
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetForLoopIndexA()*10)+2)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetForLoopIndexA()*10)+3)])
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_PetF1 takes nothing returns nothing
set gg_trg_PetF1=CreateTrigger()
call TriggerRegisterTimerEventPeriodic(gg_trg_PetF1,.05)
call TriggerAddAction(gg_trg_PetF1,function Trig_PetF1_Actions)
endfunction
function Trig_PetG1_Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]!=null))then
return false
endif
if(not(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)==true))then
return false
endif
return true
endfunction
function Trig_PetG1_Func003C takes nothing returns boolean
if(not(GetUnitUserData(GetTriggerUnit())==2000))then
return false
endif
return true
endfunction
function Trig_PetG1_Func004C takes nothing returns boolean
if(not(GetUnitUserData(GetTriggerUnit())==2001))then
return false
endif
return true
endfunction
function Trig_PetG1_Func006Func001C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='u008'))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[916]==null))then
return false
endif
return true
endfunction
function Trig_PetG1_Func006Func002C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='n01P'))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[917]==null))then
return false
endif
return true
endfunction
function Trig_PetG1_Func006Func003C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='n022'))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[918]==null))then
return false
endif
return true
endfunction
function Trig_PetG1_Func006Func004C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='n01S'))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[919]==null))then
return false
endif
return true
endfunction
function Trig_PetG1_Func006Func005C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='n01L'))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[920]==null))then
return false
endif
return true
endfunction
function Trig_PetG1_Func006Func006C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='n00W'))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
return true
endfunction
function Trig_PetG1_Func006C takes nothing returns boolean
if(not(GetRandomInt(1,20)>17))then
return false
endif
return true
endfunction
function Trig_PetG1_Actions takes nothing returns nothing
if(Trig_PetG1_Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[0]=GetRandomLocInRect(gg_rct______________022)
call SetUnitPositionLoc(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))],udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[0])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[0])
call IssueImmediateOrder(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))],"stop")
else
endif
if(Trig_PetG1_Func003C())then
call RemoveUnit(GetTriggerUnit())
else
endif
if(Trig_PetG1_Func004C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904]=GetUnitLoc(GetTriggerUnit())
call AddSpecialEffectLocBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904],"Abilities\\Weapons\\SteamTank\\SteamTankImpact.mdl")
call DestroyEffect(GetLastCreatedEffectBJ())
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904])
else
endif
if(Trig_PetG1_Func006C())then
if(Trig_PetG1_Func006Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904]=GetUnitLoc(GetTriggerUnit())
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[58],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904],bj_UNIT_FACING)
call UnitAddAbilityBJ('Amrf',GetLastCreatedUnit())
call UnitRemoveAbilityBJ('Amrf',GetLastCreatedUnit())
call SetUnitFlyHeight(GetLastCreatedUnit(),280.,.0)
call SetUnitScalePercent(GetLastCreatedUnit(),80.,100,100)
call UnitAddAbilityBJ('A020',GetLastCreatedUnit())
call UnitAddAbilityBJ('A0C7',GetLastCreatedUnit())
call RemoveUnit(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[916])
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[916]=GetLastCreatedUnit()
call SetUnitUserData(GetLastCreatedUnit(),916)
call SetUnitMoveSpeed(GetLastCreatedUnit(),520.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905]=GetRandomLocInRect(gg_rct_______Map)
call IssuePointOrderLoc(GetLastCreatedUnit(),"move",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call SetUnitPathing(GetLastCreatedUnit(),false)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
else
endif
if(Trig_PetG1_Func006Func002C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904]=GetUnitLoc(GetTriggerUnit())
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[54],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904],bj_UNIT_FACING)
call UnitAddAbilityBJ('Amrf',GetLastCreatedUnit())
call UnitRemoveAbilityBJ('Amrf',GetLastCreatedUnit())
call SetUnitFlyHeight(GetLastCreatedUnit(),280.,.0)
call SetUnitScalePercent(GetLastCreatedUnit(),80.,100,100)
call UnitAddAbilityBJ('A020',GetLastCreatedUnit())
call UnitAddAbilityBJ('A0C7',GetLastCreatedUnit())
call RemoveUnit(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[917])
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[917]=GetLastCreatedUnit()
call SetUnitUserData(GetLastCreatedUnit(),917)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905]=GetRandomLocInRect(gg_rct_______Map)
call IssuePointOrderLoc(GetLastCreatedUnit(),"move",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call SetUnitPathing(GetLastCreatedUnit(),false)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call TriggerSleepAction(5.)
call SetUnitMoveSpeed(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[917],520.)
else
endif
if(Trig_PetG1_Func006Func003C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904]=GetUnitLoc(GetTriggerUnit())
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[52],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904],bj_UNIT_FACING)
call UnitAddAbilityBJ('Amrf',GetLastCreatedUnit())
call UnitRemoveAbilityBJ('Amrf',GetLastCreatedUnit())
call SetUnitFlyHeight(GetLastCreatedUnit(),280.,.0)
call SetUnitScalePercent(GetLastCreatedUnit(),80.,100,100)
call UnitAddAbilityBJ('A020',GetLastCreatedUnit())
call UnitAddAbilityBJ('A0C7',GetLastCreatedUnit())
call RemoveUnit(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[918])
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[918]=GetLastCreatedUnit()
call SetUnitUserData(GetLastCreatedUnit(),918)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905]=GetRandomLocInRect(gg_rct_______Map)
call IssuePointOrderLoc(GetLastCreatedUnit(),"move",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call SetUnitPathing(GetLastCreatedUnit(),false)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call TriggerSleepAction(5.)
call SetUnitMoveSpeed(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[918],520.)
else
endif
if(Trig_PetG1_Func006Func004C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904]=GetUnitLoc(GetDyingUnit())
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[56],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904],bj_UNIT_FACING)
call UnitAddAbilityBJ('Amrf',GetLastCreatedUnit())
call UnitRemoveAbilityBJ('Amrf',GetLastCreatedUnit())
call SetUnitFlyHeight(GetLastCreatedUnit(),280.,.0)
call SetUnitScalePercent(GetLastCreatedUnit(),80.,100,100)
call UnitAddAbilityBJ('A020',GetLastCreatedUnit())
call UnitAddAbilityBJ('A0C7',GetLastCreatedUnit())
call RemoveUnit(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[919])
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[919]=GetLastCreatedUnit()
call SetUnitUserData(GetLastCreatedUnit(),919)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905]=GetRandomLocInRect(gg_rct_______Map)
call IssuePointOrderLoc(GetLastCreatedUnit(),"move",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call SetUnitPathing(GetLastCreatedUnit(),false)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call TriggerSleepAction(5.)
call SetUnitMoveSpeed(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[919],520.)
else
endif
if(Trig_PetG1_Func006Func005C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904]=GetUnitLoc(GetTriggerUnit())
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[53],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904],bj_UNIT_FACING)
call UnitAddAbilityBJ('Amrf',GetLastCreatedUnit())
call UnitRemoveAbilityBJ('Amrf',GetLastCreatedUnit())
call SetUnitFlyHeight(GetLastCreatedUnit(),280.,.0)
call SetUnitScalePercent(GetLastCreatedUnit(),80.,100,100)
call UnitAddAbilityBJ('A020',GetLastCreatedUnit())
call UnitAddAbilityBJ('A0C7',GetLastCreatedUnit())
call RemoveUnit(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[920])
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[920]=GetLastCreatedUnit()
call SetUnitUserData(GetLastCreatedUnit(),920)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905]=GetRandomLocInRect(gg_rct_______Map)
call IssuePointOrderLoc(GetLastCreatedUnit(),"move",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call SetUnitPathing(GetLastCreatedUnit(),false)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call TriggerSleepAction(5.)
call SetUnitMoveSpeed(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[920],520.)
else
endif
if(Trig_PetG1_Func006Func006C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904]=GetUnitLoc(GetTriggerUnit())
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[55],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904],bj_UNIT_FACING)
call UnitAddAbilityBJ('Amrf',GetLastCreatedUnit())
call UnitRemoveAbilityBJ('Amrf',GetLastCreatedUnit())
call SetUnitFlyHeight(GetLastCreatedUnit(),280.,.0)
call SetUnitScalePercent(GetLastCreatedUnit(),80.,100,100)
call UnitAddAbilityBJ('A020',GetLastCreatedUnit())
call UnitAddAbilityBJ('A0C7',GetLastCreatedUnit())
call RemoveUnit(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[921])
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[921]=GetLastCreatedUnit()
call SetUnitUserData(GetLastCreatedUnit(),921)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905]=GetRandomLocInRect(gg_rct_______Map)
call IssuePointOrderLoc(GetLastCreatedUnit(),"move",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call SetUnitPathing(GetLastCreatedUnit(),false)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call TriggerSleepAction(5.)
call SetUnitMoveSpeed(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[921],520.)
else
endif
else
endif
endfunction
function InitTrig_PetG1 takes nothing returns nothing
set gg_trg_PetG1=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_PetG1,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddAction(gg_trg_PetG1,function Trig_PetG1_Actions)
endfunction
function Trig_PetH1_Func001Func002Func001C takes nothing returns boolean
if(not(GetUnitTypeId(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])==udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[GetForLoopIndexB()]))then
return false
endif
return true
endfunction
function Trig_PetH1_Func001C takes nothing returns boolean
if(not(GetUnitFlyHeight(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])<40.))then
return false
endif
return true
endfunction
function Trig_PetH1_Actions takes nothing returns nothing
if(Trig_PetH1_Func001C())then
set bj_forLoopBIndex=1
set bj_forLoopBIndexEnd=63
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
if(Trig_PetH1_Func001Func002Func001C())then
call UnitAddAbilityBJ('Amrf',udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
call UnitRemoveAbilityBJ('Amrf',udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
call SetUnitFlyHeight(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[(400+GetForLoopIndexB())],.0)
call UnitRemoveAbilityBJ('Aloc',udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
call UnitAddAbilityBJ('Aloc',udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
else
endif
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
else
endif
call IssueTargetOrderById(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],851983,GetEventTargetUnit())
call IssueTargetOrderById(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],851983,GetEventTargetUnit())
endfunction
function InitTrig_PetH1 takes nothing returns nothing
set gg_trg_PetH1=CreateTrigger()
call TriggerAddAction(gg_trg_PetH1,function Trig_PetH1_Actions)
endfunction
function Trig_PetI_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A0CY'))then
return false
endif
if(not(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]!=null))then
return false
endif
if(not(CheckItemStatus(GetSpellTargetItem(),bj_ITEM_STATUS_OWNED)!=true))then
return false
endif
return true
endfunction
function Trig_PetI_Func014C takes nothing returns boolean
if(not(CheckItemStatus(udg_M9P2Q7USUl4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*20)+1)],bj_ITEM_STATUS_OWNED)==true))then
return false
endif
return true
endfunction
function Trig_PetI_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+8)]=PolarProjectionBJ(GetItemLoc(GetSpellTargetItem()),60.,0)
call CreateNUnitsAtLoc(1,GetUnitTypeId(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]),GetTriggerPlayer(),udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+8)],150.)
set udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*20)+1)]=GetLastCreatedUnit()
set udg_M9P2Q7USUl4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*20)+1)]=GetSpellTargetItem()
call UnitAddAbilityBJ('Aloc',GetLastCreatedUnit())
call SetUnitScalePercent(GetLastCreatedUnit(),70.,100,100)
call PauseUnitBJ(true,GetLastCreatedUnit())
call CreateTextTagLocBJ("偶素小乖，主人叫偶来拿东西！",udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+8)],150.,9.,100,100.,100.,.0)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),4.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+8)])
call TriggerSleepAction(5.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+9)]=PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,0)
if(Trig_PetI_Func014C())then
call RemoveUnit(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*20)+1)])
call CreateTextTagLocBJ("主人，东西给别人抢去了！",udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+9)],150.,9.,100,100.,100.,.0)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),3.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+9)])
return
else
endif
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+9)]=PolarProjectionBJ(GetUnitLoc(GetTriggerUnit()),100.,0)
call SetUnitPositionLoc(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*20)+1)],udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+9)])
call SetItemPositionLoc(udg_M9P2Q7USUl4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*20)+1)],udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+9)])
call CreateTextTagLocBJ("主人，东西拿回来了！",udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+9)],150.,9.,100,100.,100.,.0)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),3.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[((GetConvertedPlayerId(GetTriggerPlayer())*10)+9)])
call TriggerSleepAction(1.5)
call RemoveUnit(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*20)+1)])
endfunction
function InitTrig_PetI takes nothing returns nothing
set gg_trg_PetI=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_PetI,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddCondition(gg_trg_PetI,Condition(function Trig_PetI_Conditions))
call TriggerAddAction(gg_trg_PetI,function Trig_PetI_Actions)
endfunction
function Trig_PetJ_Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]!=null))then
return false
endif
if(not(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)==true))then
return false
endif
return true
endfunction
function Trig_PetJ_Actions takes nothing returns nothing
if(Trig_PetJ_Func001C())then
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=2
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call PolledWait(1.)
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=2
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[0]=GetRandomLocInRect(gg_rct______________022)
call SetUnitPositionLoc(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[0])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K3h[0])
call IssueImmediateOrder(udg_M9P2Q7U5l4V5W9O45lO704K1D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],"stop")
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
else
endif
endfunction
function InitTrig_PetJ takes nothing returns nothing
set gg_trg_PetJ=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_PetJ,EVENT_PLAYER_UNIT_LOADED)
call TriggerAddAction(gg_trg_PetJ,function Trig_PetJ_Actions)
endfunction
function Trig_Ogre_Show_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[500]=Location(17948.,-2397.)
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[501]='n00W'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[502]='n01S'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[503]='n00R'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[504]='n00T'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[511]='n00M'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[512]='n00O'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[513]='n00V'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[514]='n00U'
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[501]=Location(21901.,169.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[502]=Location(21614.,-64.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[503]=Location(22220.,-207.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[504]=Location(20839.,504.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[505]=Location(20470.,260.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[506]=Location(21035.,236.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[507]=Location(19710.,1216.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[508]=Location(19959.,1430.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[509]=Location(20135.,933.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[510]=Location(19064.,411.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[511]=Location(18782.,119.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[512]=Location(19283.,215.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[513]=Location(19628.,-600.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[514]=Location(19969.,-358.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[515]=Location(20221.,-776.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[516]=Location(21914.,-1527.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[517]=Location(21468.,-1703.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[518]=Location(22056.,-1873.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[519]=Location(22231.,-3033.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[520]=Location(21753.,-3143.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[521]=Location(22351.,-3438.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[522]=Location(20712.,-2459.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[523]=Location(20232.,-2630.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[524]=Location(20752.,-2893.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[525]=Location(22121.,-4639.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[526]=Location(22149.,-4954.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[527]=Location(21621.,-4630.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[528]=Location(21178.,-5388.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[529]=Location(21197.,-5802.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[530]=Location(20702.,-5585.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[531]=Location(19809.,-3646.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[532]=Location(19883.,-4024.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[533]=Location(19353.,-3832.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[534]=Location(19608.,-5431.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[535]=Location(19126.,-5578.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[536]=Location(19618.,-5863.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[537]=Location(18418.,-2659.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[538]=Location(18430.,-3121.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[539]=Location(17938.,-2880.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[540]=Location(19377.,-1761.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[541]=Location(19498.,-2065.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[542]=Location(19069.,-1918.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[543]=Location(18289.,-960.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[544]=Location(18534.,-1290.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[545]=Location(18087.,-1365.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[599]=Location(21602.,839.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[600]=Location(21956.,-6032.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=2
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[GetRandomInt(501,504)],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[(598+GetForLoopIndexA())],AngleBetweenPoints(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[(598+GetForLoopIndexA())],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[500]))
call SetUnitUserData(GetLastCreatedUnit(),(598+GetForLoopIndexA()))
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=45
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[GetRandomInt(511,513)],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[(500+GetForLoopIndexA())],AngleBetweenPoints(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[(500+GetForLoopIndexA())],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[500]))
call SetUnitUserData(GetLastCreatedUnit(),(500+GetForLoopIndexA()))
call SetUnitScalePercent(GetLastCreatedUnit(),GetRandomReal(80.,120.),100,100)
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[521]='n010'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[522]='n01L'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[523]='n00X'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[524]='n00Y'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[531]='n00Z'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[532]='n011'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[533]='n01T'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[534]='n014'
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[601]=Location(16042.,1578.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[602]=Location(15462.,1508.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[603]=Location(15050.,1368.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[604]=Location(14676.,714.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[605]=Location(14097.,1555.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[606]=Location(13293.,1444.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[607]=Location(15391.,83.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[608]=Location(15183.,-641.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[609]=Location(15860.,-1582.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[610]=Location(15584.,-2149.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[611]=Location(16431.,-2503.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[612]=Location(15344.,-2960.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[613]=Location(13155.,651.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[614]=Location(12754.,-111.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[615]=Location(13068.,-697.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[616]=Location(12576.,-1453.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[617]=Location(13037.,-1890.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[618]=Location(12524.,-2448.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[619]=Location(13049.,-2724.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[620]=Location(12804.,-3628.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[621]=Location(14556.,-2781.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[622]=Location(14786.,-3795.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[623]=Location(15632.,-3705.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[624]=Location(16182.,-4271.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[625]=Location(15401.,-4694.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[626]=Location(15995.,-5274.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[627]=Location(15771.,-5838.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[628]=Location(16580.,-5928.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[629]=Location(16210.,-6888.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[630]=Location(15353.,-6800.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[631]=Location(17644.,-7106.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[632]=Location(16853.,-7743.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[633]=Location(17503.,-7891.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[634]=Location(18147.,-7514.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[635]=Location(18567.,-8285.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[636]=Location(17702.,-8705.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[637]=Location(18608.,-9316.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[638]=Location(18647.,-10209.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[639]=Location(19426.,-9637.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[640]=Location(19958.,-10220.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[641]=Location(20479.,-9874.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[642]=Location(21003.,-9308.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[643]=Location(21179.,-10280.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[644]=Location(21668.,-9926.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[645]=Location(22197.,-9766.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[646]=Location(21883.,-10635.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[647]=Location(20588.,-10763.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[648]=Location(15888.,-7746.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[649]=Location(14720.,-7253.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[650]=Location(14336.,-8004.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[651]=Location(12565.,-9995.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[652]=Location(12607.,-9125.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[653]=Location(13669.,-9119.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[654]=Location(13283.,-8360.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[655]=Location(13194.,-7320.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[656]=Location(13707.,-6651.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[657]=Location(12833.,-6329.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[658]=Location(13386.,-5638.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[659]=Location(12852.,-4860.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[660]=Location(13539.,-4384.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[661]=Location(13759.,-3396.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[699]=Location(16648.,1362.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[700]=Location(21848.,-9392.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=2
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[GetRandomInt(521,524)],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[(698+GetForLoopIndexA())],240.)
call SetUnitUserData(GetLastCreatedUnit(),(698+GetForLoopIndexA()))
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=61
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[GetRandomInt(531,534)],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[(600+GetForLoopIndexA())],GetRandomReal(0,360.))
call SetUnitUserData(GetLastCreatedUnit(),(600+GetForLoopIndexA()))
call SetUnitScalePercent(GetLastCreatedUnit(),GetRandomReal(80.,120.),100,100)
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[541]='u008'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[542]='n015'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[543]='n017'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[544]='n016'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[551]='n01A'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[552]='n01B'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[553]='n018'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[554]='n019'
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[701]=Location(21574.,-13488.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[702]=Location(22227.,-13169.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[703]=Location(21840.,-12865.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[704]=Location(22044.,-12152.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[705]=Location(21136.,-11878.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[706]=Location(20259.,-11943.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[707]=Location(19911.,-12594.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[708]=Location(19797.,-13325.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[709]=Location(19330.,-13867.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[710]=Location(18979.,-13118.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[711]=Location(18293.,-13305.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[712]=Location(17587.,-13846.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[713]=Location(17378.,-12929.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[714]=Location(18683.,-12289.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[715]=Location(17761.,-12080.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[716]=Location(16633.,-13866.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[717]=Location(15875.,-13316.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[718]=Location(15445.,-13909.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[719]=Location(14898.,-14085.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[720]=Location(14429.,-13477.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[721]=Location(14008.,-14070.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[722]=Location(13094.,-13930.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[723]=Location(13468.,-13314.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[724]=Location(12600.,-13289.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[725]=Location(13157.,-12449.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[726]=Location(14082.,-11970.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[727]=Location(13370.,-11459.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[728]=Location(14161.,-11221.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[729]=Location(14860.,-10680.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[730]=Location(15251.,-11526.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[731]=Location(16140.,-11785.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[732]=Location(17072.,-11639.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[733]=Location(17713.,-11290.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[734]=Location(17359.,-10532.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[735]=Location(16716.,-10921.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[736]=Location(16537.,-10324.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[737]=Location(15843.,-10967.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[799]=Location(15140.,-13329.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[800]=Location(22057.,-13731.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=2
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[GetRandomInt(541,544)],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[(798+GetForLoopIndexA())],220.)
call SetUnitUserData(GetLastCreatedUnit(),(798+GetForLoopIndexA()))
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=37
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[GetRandomInt(551,554)],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[(700+GetForLoopIndexA())],GetRandomReal(0,360.))
call SetUnitUserData(GetLastCreatedUnit(),(700+GetForLoopIndexA()))
call SetUnitScalePercent(GetLastCreatedUnit(),GetRandomReal(80.,120.),100,100)
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Ogre_Show takes nothing returns nothing
set gg_trg_Ogre_Show=CreateTrigger()
call TriggerAddAction(gg_trg_Ogre_Show,function Trig_Ogre_Show_Actions)
endfunction
function Trig_Ogre_Show2_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[890]=Location(5539.,-8236.)
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[895]='n01F'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[896]='n003'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[897]='n021'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[898]='n023'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[899]='n00E'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[900]='n022'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[801]='n006'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[802]='n025'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[803]='n024'
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[801]=Location(5997.,-1101.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[802]=Location(6311.,-2037.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[803]=Location(5483.,-1832.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[804]=Location(4913.,-1700.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[805]=Location(6158.,-2742.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[806]=Location(5868.,-3223.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[807]=Location(6382.,-3662.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[808]=Location(5199.,-2471.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[809]=Location(5017.,-3035.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[810]=Location(4560.,-3565.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[811]=Location(4339.,-2341.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[812]=Location(4140.,-3019.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[831]=Location(5120.,-7025.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[832]=Location(5748.,-6405.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[833]=Location(4918.,-6289.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[834]=Location(4404.,-6310.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[835]=Location(4839.,-5460.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[836]=Location(3970.,-5877.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[837]=Location(3900.,-5424.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[838]=Location(4500.,-4560.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[851]=Location(3264.,-3948.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[852]=Location(3030.,-4568.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[853]=Location(2277.,-4929.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[854]=Location(2651.,-5098.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[855]=Location(3177.,-5303.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[895]=GetRandomLocInRect(gg_rct_Ogre_Shu)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[896]=Location(5989.,-1586.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[897]=Location(2641.,-4549.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[898]=Location(5203.,-6310.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[899]=Location(4059.,-4805.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[900]=Location(6426.,-5321.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[(895+GetForLoopIndexA())],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[(895+GetForLoopIndexA())],AngleBetweenPoints(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[(895+GetForLoopIndexA())],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[890]))
call SetUnitUserData(GetLastCreatedUnit(),(895+GetForLoopIndexA()))
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=12
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[801],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[(800+GetForLoopIndexA())],GetRandomReal(0,360.))
call SetUnitUserData(GetLastCreatedUnit(),(800+GetForLoopIndexA()))
call SetUnitScalePercent(GetLastCreatedUnit(),GetRandomReal(80.,120.),100,100)
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=8
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[802],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[(830+GetForLoopIndexA())],GetRandomReal(0,360.))
call SetUnitUserData(GetLastCreatedUnit(),(830+GetForLoopIndexA()))
call SetUnitScalePercent(GetLastCreatedUnit(),GetRandomReal(80.,120.),100,100)
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[803],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[(850+GetForLoopIndexA())],GetRandomReal(0,360.))
call SetUnitUserData(GetLastCreatedUnit(),(850+GetForLoopIndexA()))
call SetUnitScalePercent(GetLastCreatedUnit(),GetRandomReal(80.,120.),100,100)
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[901]='n01P'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[911]='n026'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[912]='n027'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[913]='n02A'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[914]='n028'
set udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[915]='n029'
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[901]=Location(9097.,-14106.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[902]=Location(10716.,1721.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[901],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[901],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),901)
call SetUnitMoveSpeed(GetLastCreatedUnit(),200.)
call IssuePointOrderLoc(GetLastCreatedUnit(),"patrol",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[902])
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[895],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[895],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),895)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[895])
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Ogre_Show2 takes nothing returns nothing
set gg_trg_Ogre_Show2=CreateTrigger()
call TriggerAddAction(gg_trg_Ogre_Show2,function Trig_Ogre_Show2_Actions)
endfunction
function Trig_Ogre_Relive_Conditions takes nothing returns boolean
if(not(GetUnitUserData(GetTriggerUnit())>500))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func006Func003Func003C takes nothing returns boolean
if(not(GetRandomInt(1,10)>5))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func006Func003C takes nothing returns boolean
if(not(GetRandomInt(1,20)==20))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func006Func011001 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())>598)
endfunction
function Trig_Ogre_Relive_Func006Func011002 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())<601)
endfunction
function Trig_Ogre_Relive_Func006C takes nothing returns boolean
if(not GetBooleanAnd(Trig_Ogre_Relive_Func006Func011001(),Trig_Ogre_Relive_Func006Func011002()))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func008Func003Func001Func001Func002C takes nothing returns boolean
if(not(GetRandomInt(1,12)<5))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func008Func003Func001Func001C takes nothing returns boolean
if(not(GetRandomInt(1,10)<5))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func008Func003Func001C takes nothing returns boolean
if(not(GetRandomInt(1,20)>16))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func008Func003C takes nothing returns boolean
if(not(GetRandomInt(1,20)>16))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func008Func012001 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())>500)
endfunction
function Trig_Ogre_Relive_Func008Func012002 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())<598)
endfunction
function Trig_Ogre_Relive_Func008C takes nothing returns boolean
if(not GetBooleanAnd(Trig_Ogre_Relive_Func008Func012001(),Trig_Ogre_Relive_Func008Func012002()))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func010Func003Func002C takes nothing returns boolean
if(not(GetRandomInt(1,10)>5))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func010Func003Func004Func001C takes nothing returns boolean
if(not(GetUnitUserData(GetKillingUnitBJ())==4))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func010Func003Func004C takes nothing returns boolean
if(not(GetUnitUserData(GetKillingUnitBJ())==3))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func010Func003C takes nothing returns boolean
if(not(GetRandomInt(1,20)==20))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func010Func011001 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())>698)
endfunction
function Trig_Ogre_Relive_Func010Func011002 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())<701)
endfunction
function Trig_Ogre_Relive_Func010C takes nothing returns boolean
if(not GetBooleanAnd(Trig_Ogre_Relive_Func010Func011001(),Trig_Ogre_Relive_Func010Func011002()))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func003Func001Func001Func002Func002C takes nothing returns boolean
if(not(GetRandomInt(1,10)<5))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func003Func001Func001Func002C takes nothing returns boolean
if(not(GetRandomInt(1,12)<5))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func003Func001Func001C takes nothing returns boolean
if(not(GetRandomInt(1,10)<3))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func003Func001Func003C takes nothing returns boolean
if(not(GetUnitUserData(GetKillingUnitBJ())==3))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func003Func001C takes nothing returns boolean
if(not(GetRandomInt(1,20)>16))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func003C takes nothing returns boolean
if(not(GetRandomInt(1,20)>16))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func006Func001Func002Func001Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexB()]==0))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func006Func001Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexA()]>=5))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func006Func001C takes nothing returns boolean
if(not(GetItemTypeId(GetLastCreatedItem())==udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetForLoopIndexA()]))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func007Func001Func002Func001Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexB()]==0))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func007Func001Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexA()]>=3))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func007Func001C takes nothing returns boolean
if(not(GetItemTypeId(GetLastCreatedItem())==udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetForLoopIndexA()]))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func008Func001Func002Func001Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexB()]==0))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func008Func001Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexA()]>=3))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func008Func001C takes nothing returns boolean
if(not(GetItemTypeId(GetLastCreatedItem())==udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetForLoopIndexA()]))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func012Func016001 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())>600)
endfunction
function Trig_Ogre_Relive_Func012Func016002 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())<698)
endfunction
function Trig_Ogre_Relive_Func012C takes nothing returns boolean
if(not GetBooleanAnd(Trig_Ogre_Relive_Func012Func016001(),Trig_Ogre_Relive_Func012Func016002()))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func014Func003Func006C takes nothing returns boolean
if(not(GetRandomInt(1,10)>5))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func014Func003C takes nothing returns boolean
if(not(GetRandomInt(1,20)>18))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func014Func015001 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())>798)
endfunction
function Trig_Ogre_Relive_Func014Func015002 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())<801)
endfunction
function Trig_Ogre_Relive_Func014C takes nothing returns boolean
if(not GetBooleanAnd(Trig_Ogre_Relive_Func014Func015001(),Trig_Ogre_Relive_Func014Func015002()))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func016Func003Func001Func001C takes nothing returns boolean
if(not(GetRandomInt(1,10)<4))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func016Func003Func001C takes nothing returns boolean
if(not(GetRandomInt(1,20)>15))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func016Func003Func004Func001Func002Func001Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexB()]==0))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func016Func003Func004Func001Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexA()]>=5))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func016Func003Func004Func001C takes nothing returns boolean
if(not(GetItemTypeId(GetLastCreatedItem())==udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetForLoopIndexA()]))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func016Func003C takes nothing returns boolean
if(not(GetRandomInt(1,20)>14))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func016Func015001 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())>700)
endfunction
function Trig_Ogre_Relive_Func016Func015002 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())<798)
endfunction
function Trig_Ogre_Relive_Func016C takes nothing returns boolean
if(not GetBooleanAnd(Trig_Ogre_Relive_Func016Func015001(),Trig_Ogre_Relive_Func016Func015002()))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func018Func003Func001C takes nothing returns boolean
if(not(GetRandomInt(1,20)>16))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func018Func003C takes nothing returns boolean
if(not(GetRandomInt(1,20)>18))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func018Func004Func001001 takes nothing returns boolean
return(GetRandomInt(1,10)>6)
endfunction
function Trig_Ogre_Relive_Func018Func004C takes nothing returns boolean
if(not(GetUnitTypeId(GetDyingUnit())=='n022'))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func018Func016001 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())>895)
endfunction
function Trig_Ogre_Relive_Func018Func016002 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())<901)
endfunction
function Trig_Ogre_Relive_Func018C takes nothing returns boolean
if(not GetBooleanAnd(Trig_Ogre_Relive_Func018Func016001(),Trig_Ogre_Relive_Func018Func016002()))then
return false
endif
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<25))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func021Func001Func002C takes nothing returns boolean
if(not(GetRandomInt(1,20)>16))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func021Func001C takes nothing returns boolean
if(not(GetRandomInt(1,30)>26))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func021Func002001 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())>800)
endfunction
function Trig_Ogre_Relive_Func021Func002002 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())<890)
endfunction
function Trig_Ogre_Relive_Func021C takes nothing returns boolean
if(not GetBooleanAnd(Trig_Ogre_Relive_Func021Func002001(),Trig_Ogre_Relive_Func021Func002002()))then
return false
endif
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<25))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func023Func012001 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())>800)
endfunction
function Trig_Ogre_Relive_Func023Func012002 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())<830)
endfunction
function Trig_Ogre_Relive_Func023C takes nothing returns boolean
if(not GetBooleanAnd(Trig_Ogre_Relive_Func023Func012001(),Trig_Ogre_Relive_Func023Func012002()))then
return false
endif
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<25))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func024Func012001 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())>830)
endfunction
function Trig_Ogre_Relive_Func024Func012002 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())<850)
endfunction
function Trig_Ogre_Relive_Func024C takes nothing returns boolean
if(not GetBooleanAnd(Trig_Ogre_Relive_Func024Func012001(),Trig_Ogre_Relive_Func024Func012002()))then
return false
endif
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<25))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func025Func012001 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())>850)
endfunction
function Trig_Ogre_Relive_Func025Func012002 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())<870)
endfunction
function Trig_Ogre_Relive_Func025C takes nothing returns boolean
if(not GetBooleanAnd(Trig_Ogre_Relive_Func025Func012001(),Trig_Ogre_Relive_Func025Func012002()))then
return false
endif
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]<25))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func027Func002Func001C takes nothing returns boolean
if(not(GetRandomInt(1,10)>7))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func027Func002C takes nothing returns boolean
if(not(GetRandomInt(1,10)>6))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func027C takes nothing returns boolean
if(not(GetUnitTypeId(GetDyingUnit())=='n01J'))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func028C takes nothing returns boolean
if(not(GetUnitTypeId(GetDyingUnit())=='o004'))then
return false
endif
if(not(GetOwningPlayer(GetTriggerUnit())==Player(PLAYER_NEUTRAL_AGGRESSIVE)))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func031Func002Func001C takes nothing returns boolean
if(not(GetRandomInt(1,10)>7))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func031Func002C takes nothing returns boolean
if(not(GetRandomInt(1,10)>6))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func031C takes nothing returns boolean
if(not(GetUnitTypeId(GetDyingUnit())=='n01P'))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func033Func001001 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())>910)
endfunction
function Trig_Ogre_Relive_Func033Func001002 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())<930)
endfunction
function Trig_Ogre_Relive_Func033Func003Func001Func001001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==1)
endfunction
function Trig_Ogre_Relive_Func033Func003Func001Func002001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==3)
endfunction
function Trig_Ogre_Relive_Func033Func003Func001Func003001 takes nothing returns boolean
return(GetUnitUserData(GetKillingUnitBJ())==4)
endfunction
function Trig_Ogre_Relive_Func033Func003Func001C takes nothing returns boolean
if(not(GetRandomInt(1,10)<4))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func033Func003C takes nothing returns boolean
if(not(IsUnitAlly(GetKillingUnitBJ(),Player(0))==true))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Func033C takes nothing returns boolean
if(not GetBooleanAnd(Trig_Ogre_Relive_Func033Func001001(),Trig_Ogre_Relive_Func033Func001002()))then
return false
endif
return true
endfunction
function Trig_Ogre_Relive_Actions takes nothing returns nothing
local integer udg_unit_key
set udg_unit_key=GetUnitUserData(GetTriggerUnit())
if(Trig_Ogre_Relive_Func006C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)]=GetUnitLoc(GetDyingUnit())
if(Trig_Ogre_Relive_Func006Func003C())then
if(Trig_Ogre_Relive_Func006Func003Func003C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[180],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[179],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
call SetItemUserData(GetLastCreatedItem(),21)
endif
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(141,143)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(65,68)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
call PolledWait(180.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[GetRandomInt(501,504)],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[udg_unit_key],AngleBetweenPoints(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[udg_unit_key],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[500]))
call SetUnitUserData(GetLastCreatedUnit(),udg_unit_key)
return
else
endif
if(Trig_Ogre_Relive_Func008C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)]=GetUnitLoc(GetDyingUnit())
if(Trig_Ogre_Relive_Func008Func003C())then
if(Trig_Ogre_Relive_Func008Func003Func001C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(141,143)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
if(Trig_Ogre_Relive_Func008Func003Func001Func001C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(65,68)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
if(Trig_Ogre_Relive_Func008Func003Func001Func001Func002C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(45,48)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(5,8)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
endif
endif
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
call PolledWait(180.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[GetRandomInt(511,513)],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[udg_unit_key],AngleBetweenPoints(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[udg_unit_key],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[500]))
call SetUnitUserData(GetLastCreatedUnit(),udg_unit_key)
call SetUnitScalePercent(GetLastCreatedUnit(),GetRandomReal(80.,120.),100,100)
return
else
endif
if(Trig_Ogre_Relive_Func010C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)]=GetUnitLoc(GetDyingUnit())
if(Trig_Ogre_Relive_Func010Func003C())then
if(Trig_Ogre_Relive_Func010Func003Func002C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[179],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
call SetItemUserData(GetLastCreatedItem(),21)
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[180],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
else
if(Trig_Ogre_Relive_Func010Func003Func004C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(144,146)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
if(Trig_Ogre_Relive_Func010Func003Func004Func001C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(147,149)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(144,149)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
endif
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(57,64)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
call PolledWait(180.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[GetRandomInt(521,524)],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[udg_unit_key],240.)
call SetUnitUserData(GetLastCreatedUnit(),udg_unit_key)
return
else
endif
if(Trig_Ogre_Relive_Func012C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)]=GetUnitLoc(GetDyingUnit())
if(Trig_Ogre_Relive_Func012Func003C())then
if(Trig_Ogre_Relive_Func012Func003Func001C())then
if(Trig_Ogre_Relive_Func012Func003Func001Func003C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(144,146)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(147,149)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
else
if(Trig_Ogre_Relive_Func012Func003Func001Func001C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(57,64)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
if(Trig_Ogre_Relive_Func012Func003Func001Func001Func002C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(37,44)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
if(Trig_Ogre_Relive_Func012Func003Func001Func001Func002Func002C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(1,4)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(81,84)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
endif
endif
endif
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
set bj_forLoopAIndex=57
set bj_forLoopAIndexEnd=60
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Ogre_Relive_Func012Func006Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexA()]=(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexA()]+1)
if(Trig_Ogre_Relive_Func012Func006Func001Func002C())then
set bj_forLoopBIndex=57
set bj_forLoopBIndexEnd=60
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
if(Trig_Ogre_Relive_Func012Func006Func001Func002Func001Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetForLoopIndexA()]=udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetForLoopIndexB()]
else
endif
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
else
endif
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=37
set bj_forLoopAIndexEnd=40
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Ogre_Relive_Func012Func007Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexA()]=(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexA()]+1)
if(Trig_Ogre_Relive_Func012Func007Func001Func002C())then
set bj_forLoopBIndex=37
set bj_forLoopBIndexEnd=40
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
if(Trig_Ogre_Relive_Func012Func007Func001Func002Func001Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetForLoopIndexA()]=udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetForLoopIndexB()]
else
endif
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
else
endif
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=81
set bj_forLoopAIndexEnd=84
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Ogre_Relive_Func012Func008Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexA()]=(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexA()]+1)
if(Trig_Ogre_Relive_Func012Func008Func001Func002C())then
set bj_forLoopBIndex=81
set bj_forLoopBIndexEnd=84
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
if(Trig_Ogre_Relive_Func012Func008Func001Func002Func001Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetForLoopIndexA()]=udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetForLoopIndexB()]
else
endif
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
else
endif
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call PolledWait(180.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[GetRandomInt(531,534)],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[udg_unit_key],GetRandomReal(0,360.))
call SetUnitUserData(GetLastCreatedUnit(),udg_unit_key)
call SetUnitScalePercent(GetLastCreatedUnit(),GetRandomReal(80.,120.),100,100)
return
else
endif
if(Trig_Ogre_Relive_Func014C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)]=GetUnitLoc(GetDyingUnit())
if(Trig_Ogre_Relive_Func014Func003C())then
if(Trig_Ogre_Relive_Func014Func003Func006C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[179],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
call SetItemUserData(GetLastCreatedItem(),21)
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[180],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(141,143)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(121,128)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
call PolledWait(120.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[GetRandomInt(541,544)],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[udg_unit_key],240.)
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetLastCreatedUnit())
call SetUnitUserData(GetLastCreatedUnit(),udg_unit_key)
return
else
endif
if(Trig_Ogre_Relive_Func016C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)]=GetUnitLoc(GetDyingUnit())
if(Trig_Ogre_Relive_Func016Func003C())then
if(Trig_Ogre_Relive_Func016Func003Func001C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(141,143)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
if(Trig_Ogre_Relive_Func016Func003Func001Func001C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(121,128)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(101,117)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
set bj_forLoopAIndex=101
set bj_forLoopAIndexEnd=128
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Ogre_Relive_Func016Func003Func004Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexA()]=(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K32[GetForLoopIndexA()]+1)
if(Trig_Ogre_Relive_Func016Func003Func004Func001Func002C())then
set bj_forLoopBIndex=101
set bj_forLoopBIndexEnd=128
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
if(Trig_Ogre_Relive_Func016Func003Func004Func001Func002Func001Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetForLoopIndexA()]=udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetForLoopIndexB()]
else
endif
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
else
endif
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
else
endif
call PolledWait(80.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[GetRandomInt(551,554)],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[udg_unit_key],GetRandomReal(0,360.))
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetLastCreatedUnit())
call SetUnitUserData(GetLastCreatedUnit(),udg_unit_key)
call SetUnitScalePercent(GetLastCreatedUnit(),GetRandomReal(80.,120.),100,100)
return
else
endif
if(Trig_Ogre_Relive_Func018C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)]=GetUnitLoc(GetDyingUnit())
if(Trig_Ogre_Relive_Func018Func003C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(141,149)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
if(Trig_Ogre_Relive_Func018Func003Func001C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(61,68)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(41,48)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
endif
if(Trig_Ogre_Relive_Func018Func004C())then
if(Trig_Ogre_Relive_Func018Func004Func001001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[142],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call DoNothing()
endif
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
call PolledWait(180.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[udg_unit_key],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[udg_unit_key],DistanceBetweenPoints(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[udg_unit_key],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[800]))
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetLastCreatedUnit())
call SetUnitUserData(GetLastCreatedUnit(),udg_unit_key)
return
else
endif
if(Trig_Ogre_Relive_Func021C())then
if(Trig_Ogre_Relive_Func021Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)]=GetUnitLoc(GetDyingUnit())
if(Trig_Ogre_Relive_Func021Func001Func002C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(41,48)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(1,8)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
return
else
endif
else
endif
if(Trig_Ogre_Relive_Func023C())then
call PolledWait(180.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[801],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[udg_unit_key],GetRandomReal(0,360.))
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetLastCreatedUnit())
call SetUnitUserData(GetLastCreatedUnit(),udg_unit_key)
call SetUnitScalePercent(GetLastCreatedUnit(),GetRandomReal(70.,100.),100,100)
return
else
endif
if(Trig_Ogre_Relive_Func024C())then
call PolledWait(180.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[802],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[udg_unit_key],GetRandomReal(0,360.))
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetLastCreatedUnit())
call SetUnitUserData(GetLastCreatedUnit(),udg_unit_key)
call SetUnitScalePercent(GetLastCreatedUnit(),GetRandomReal(80.,120.),100,100)
return
else
endif
if(Trig_Ogre_Relive_Func025C())then
call PolledWait(180.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[803],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[udg_unit_key],GetRandomReal(0,360.))
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetLastCreatedUnit())
call SetUnitUserData(GetLastCreatedUnit(),udg_unit_key)
call SetUnitScalePercent(GetLastCreatedUnit(),GetRandomReal(80.,120.),100,100)
return
else
endif
if(Trig_Ogre_Relive_Func027C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)]=GetUnitLoc(GetDyingUnit())
if(Trig_Ogre_Relive_Func027Func002C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[148],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
if(Trig_Ogre_Relive_Func027Func002Func001C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(61,68)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(41,48)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
call PolledWait(180.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[895]=GetRandomLocInRect(gg_rct_Ogre_Shu)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[895],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[895],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),895)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[895])
return
else
endif
if(Trig_Ogre_Relive_Func028C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)]=GetUnitLoc(GetDyingUnit())
call CreateItemLoc('I01Z',udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
return
else
endif
if(Trig_Ogre_Relive_Func031C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)]=GetUnitLoc(GetDyingUnit())
if(Trig_Ogre_Relive_Func031Func002C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[146],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
if(Trig_Ogre_Relive_Func031Func002Func001C())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(61,68)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(41,48)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
call PolledWait(180.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7UD5l4V5W9O45lO7041D2G5K3[901],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[901],bj_UNIT_FACING)
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetLastCreatedUnit())
call SetUnitUserData(GetLastCreatedUnit(),901)
call SetUnitMoveSpeed(GetLastCreatedUnit(),200.)
call IssuePointOrderLoc(GetLastCreatedUnit(),"patrol",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[902])
return
else
endif
if(Trig_Ogre_Relive_Func033C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)]=GetUnitLoc(GetTriggerUnit())
if(Trig_Ogre_Relive_Func033Func003C())then
if(Trig_Ogre_Relive_Func033Func003Func001C())then
if(Trig_Ogre_Relive_Func033Func003Func001Func001001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(141,143)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call DoNothing()
endif
if(Trig_Ogre_Relive_Func033Func003Func001Func002001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(144,146)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call DoNothing()
endif
if(Trig_Ogre_Relive_Func033Func003Func001Func003001())then
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(147,149)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call DoNothing()
endif
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(61,68)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
else
call CreateItemLoc(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(41,48)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
endif
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetKillingUnitBJ()))*18)+10)])
call PolledWait(120.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904]=GetRandomLocInRect(gg_rct_______Map)
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[0]=GetRandomInt(1,33)
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5l4V5W9O45lO7041D2G5K33[udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[0]],Player(PLAYER_NEUTRAL_PASSIVE),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904],bj_UNIT_FACING)
call SetUnitScalePercent(GetLastCreatedUnit(),udg_M9P2Q7U5l4V5W9O45lO70h41D2G5K3[udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[0]],100,100)
call UnitAddAbilityBJ('A020',GetLastCreatedUnit())
call UnitAddAbilityBJ('A0C7',GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetLastCreatedUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetLastCreatedUnit())
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[udg_unit_key]=GetLastCreatedUnit()
call SetUnitUserData(GetLastCreatedUnit(),udg_unit_key)
call SetUnitMoveSpeed(GetLastCreatedUnit(),150.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905]=GetRandomLocInRect(gg_rct_______Map)
call IssuePointOrderLoc(GetLastCreatedUnit(),"move",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[904])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[905])
return
else
endif
endfunction
function InitTrig_Ogre_Relive takes nothing returns nothing
set gg_trg_Ogre_Relive=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Ogre_Relive,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(gg_trg_Ogre_Relive,Condition(function Trig_Ogre_Relive_Conditions))
call TriggerAddAction(gg_trg_Ogre_Relive,function Trig_Ogre_Relive_Actions)
endfunction
function Trig_Area_GoBack_Func001001 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())>500)
endfunction
function Trig_Area_GoBack_Func001002 takes nothing returns boolean
return(GetUnitUserData(GetTriggerUnit())<900)
endfunction
function Trig_Area_GoBack_Conditions takes nothing returns boolean
if(not GetBooleanAnd(Trig_Area_GoBack_Func001001(),Trig_Area_GoBack_Func001002()))then
return false
endif
return true
endfunction
function Trig_Area_GoBack_Actions takes nothing returns nothing
call IssuePointOrderLoc(GetTriggerUnit(),"move",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[GetUnitUserData(GetTriggerUnit())])
endfunction
function InitTrig_Area_GoBack takes nothing returns nothing
set gg_trg_Area_GoBack=CreateTrigger()
call TriggerRegisterEnterRectSimple(gg_trg_Area_GoBack,gg_rct_GoBack01)
call TriggerRegisterEnterRectSimple(gg_trg_Area_GoBack,gg_rct_GoBack02)
call TriggerRegisterEnterRectSimple(gg_trg_Area_GoBack,gg_rct_GoBack03)
call TriggerRegisterEnterRectSimple(gg_trg_Area_GoBack,gg_rct_GoBack04)
call TriggerRegisterEnterRectSimple(gg_trg_Area_GoBack,gg_rct_GoBack05)
call TriggerAddCondition(gg_trg_Area_GoBack,Condition(function Trig_Area_GoBack_Conditions))
call TriggerAddAction(gg_trg_Area_GoBack,function Trig_Area_GoBack_Actions)
endfunction
function Trig_Hero_type_Actions takes nothing returns nothing
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[1]='H001'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[2]='O003'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[3]='O006'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[4]='H00B'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[11]='O000'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[12]='N00G'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[13]='O005'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[14]='E001'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[15]='H00A'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[21]='H009'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[22]='U001'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[23]='H008'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[24]='O002'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[31]='H002'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[32]='H006'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[33]='H005'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[34]='E000'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[35]='O001'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[36]='N00H'
call DisableTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Hero_type takes nothing returns nothing
set gg_trg_Hero_type=CreateTrigger()
call TriggerAddAction(gg_trg_Hero_type,function Trig_Hero_type_Actions)
endfunction
function Trig_Hero_show_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200]=GetRectCenter(gg_rct_______ShowHero)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[GetForLoopIndexA()],Player(PLAYER_NEUTRAL_PASSIVE),OffsetLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],(-800.+I2R((GetForLoopIndexA()*200))),400.),bj_UNIT_FACING)
call UnitAddItemByIdSwapped('I00V',GetLastCreatedUnit())
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199]=GetUnitLoc(GetLastCreatedUnit())
call CreateTextTagLocBJ("坚盾",OffsetLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199],.0,-100.),0,10,50.,100,80.,20.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[(GetForLoopIndexA()+10)],Player(PLAYER_NEUTRAL_PASSIVE),OffsetLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],(-800.+I2R((GetForLoopIndexA()*200))),150.),bj_UNIT_FACING)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199]=GetUnitLoc(GetLastCreatedUnit())
call UnitAddItemByIdSwapped('I00W',GetLastCreatedUnit())
call CreateTextTagLocBJ("利刃",OffsetLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199],.0,-100.),0,10,50.,100,80.,20.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[(GetForLoopIndexA()+20)],Player(PLAYER_NEUTRAL_PASSIVE),OffsetLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],(-800.+I2R((GetForLoopIndexA()*200))),-100.),bj_UNIT_FACING)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199]=GetUnitLoc(GetLastCreatedUnit())
call UnitAddItemByIdSwapped('I00Y',GetLastCreatedUnit())
call CreateTextTagLocBJ("毒刺",OffsetLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199],.0,-100.),0,10,50.,100,80.,20.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[(GetForLoopIndexA()+30)],Player(PLAYER_NEUTRAL_PASSIVE),OffsetLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200],(-800.+I2R((GetForLoopIndexA()*200))),-350.),bj_UNIT_FACING)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199]=GetUnitLoc(GetLastCreatedUnit())
call UnitAddItemByIdSwapped('I00X',GetLastCreatedUnit())
call CreateTextTagLocBJ("魔法",OffsetLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199],.0,-100.),0,10,50.,100,80.,20.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[199])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[200])
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Hero_show takes nothing returns nothing
set gg_trg_Hero_show=CreateTrigger()
call TriggerAddAction(gg_trg_Hero_show,function Trig_Hero_show_Actions)
endfunction
function Trig_Hero_choice_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(PLAYER_NEUTRAL_PASSIVE)))then
return false
endif
if(not(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)==true))then
return false
endif
if(not(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]==null))then
return false
endif
return true
endfunction
function Trig_Hero_choice_Func001Func012C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]==0))then
return false
endif
return true
endfunction
function Trig_Hero_choice_Func001Func014C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[17]>0))then
return false
endif
return true
endfunction
function Trig_Hero_choice_Func001Func019C takes nothing returns boolean
if(not(GetUnitUserData(GetTriggerUnit())==1))then
return false
endif
return true
endfunction
function Trig_Hero_choice_Func001C takes nothing returns boolean
if(not(GetUnitUserData(GetTriggerUnit())==GetConvertedPlayerId(GetTriggerPlayer())))then
return false
endif
return true
endfunction
function Trig_Hero_choice_Actions takes nothing returns nothing
if(Trig_Hero_choice_Func001C())then
call SetUnitOwner(GetTriggerUnit(),GetTriggerPlayer(),true)
set udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=GetTriggerUnit()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_ALWAYSHINT,(GetPlayerName(GetTriggerPlayer())+("选择了"+(GetUnitName(GetTriggerUnit())+"！"))))
call UnitAddAbilityBJ('A02L',GetTriggerUnit())
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,'A02L')
call UnitAddAbilityBJ('A00L',GetTriggerUnit())
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,'A00L')
if(Trig_Hero_choice_Func001Func012C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+1)]='A03C'
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+1)],GetTriggerUnit())
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+1)])
else
endif
if(Trig_Hero_choice_Func001Func014C())then
call SetUnitPositionLoc(GetTriggerUnit(),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[11])
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[11],0)
else
set udg_unit_key=GetRandomInt(1,3)
call SetUnitPositionLoc(GetTriggerUnit(),udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[udg_unit_key])
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[udg_unit_key],0)
set udg_unit_key=0
endif
call AdjustPlayerStateBJ(500,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
call SetPlayerStateBJ(GetTriggerPlayer(),PLAYER_STATE_FOOD_CAP_CEILING,100)
call TriggerSleepAction(.5)
call SetUnitUserData(GetTriggerUnit(),(R2I(GetItemLifeBJ(UnitItemInSlotBJ(GetTriggerUnit(),1)))-10))
if(Trig_Hero_choice_Func001Func019C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_ITEMACQUIRED,"|cffff0000玩法提示：你选择了一个近战英雄，建议尽快购买辅助型技能--镜像，否则早期比较难发展。本游戏最强大的武器《战神套装》只属于近战型英雄使用，如果你能顶到后期，将会很强大！|r")
else
endif
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[18]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[18]+1)
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]+3)
call SelectUnitRemoveForPlayer(GetTriggerUnit(),GetTriggerPlayer())
else
call SetUnitUserData(GetTriggerUnit(),GetConvertedPlayerId(GetTriggerPlayer()))
call TriggerSleepAction(.1)
call SetUnitUserData(GetTriggerUnit(),99)
endif
endfunction
function InitTrig_Hero_choice takes nothing returns nothing
set gg_trg_Hero_choice=CreateTrigger()
call TriggerRegisterPlayerSelectionEventBJ(gg_trg_Hero_choice,Player(0),true)
call TriggerRegisterPlayerSelectionEventBJ(gg_trg_Hero_choice,Player(1),true)
call TriggerRegisterPlayerSelectionEventBJ(gg_trg_Hero_choice,Player(2),true)
call TriggerRegisterPlayerSelectionEventBJ(gg_trg_Hero_choice,Player(3),true)
call TriggerRegisterPlayerSelectionEventBJ(gg_trg_Hero_choice,Player(4),true)
call TriggerRegisterPlayerSelectionEventBJ(gg_trg_Hero_choice,Player(5),true)
call TriggerRegisterPlayerSelectionEventBJ(gg_trg_Hero_choice,Player(6),true)
call TriggerAddCondition(gg_trg_Hero_choice,Condition(function Trig_Hero_choice_Conditions))
call TriggerAddAction(gg_trg_Hero_choice,function Trig_Hero_choice_Actions)
endfunction
function Trig_Dialog_Func015Func001C takes nothing returns boolean
if(not(GetPlayerSlotState(ConvertedPlayer(GetForLoopIndexA()))==PLAYER_SLOT_STATE_PLAYING))then
return false
endif
return true
endfunction
function Trig_Dialog_Actions takes nothing returns nothing
call TriggerSleepAction(2.)
call DialogClear(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[1])
call DialogSetMessage(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[1],"选择游戏难度")
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[1],"菜鸟入门(熟悉地图)")
set udg_M9P2QS7U5l4V5W9O45lO7041D2G5K3[1]=GetLastCreatedButtonBJ()
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[1],"普通难度(更高挑战)")
set udg_M9P2QS7U5l4V5W9O45lO7041D2G5K3[2]=GetLastCreatedButtonBJ()
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[1],"中级难度(路人局的极限)")
set udg_M9P2QS7U5l4V5W9O45lO7041D2G5K3[3]=GetLastCreatedButtonBJ()
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[1],"高级难度(专业战队适用)")
set udg_M9P2QS7U5l4V5W9O45lO7041D2G5K3[4]=GetLastCreatedButtonBJ()
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[1],"地狱难度(YY语音适用)")
set udg_M9P2QS7U5l4V5W9O45lO7041D2G5K3[5]=GetLastCreatedButtonBJ()
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=10
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Dialog_Func015Func001C())then
call DialogDisplayBJ(true,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[1],ConvertedPlayer(GetForLoopIndexA()))
return
call DestroyTrigger(GetTriggeringTrigger())
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Dialog takes nothing returns nothing
set gg_trg_Dialog=CreateTrigger()
call TriggerRegisterTimerEventSingle(gg_trg_Dialog,1.)
call TriggerAddAction(gg_trg_Dialog,function Trig_Dialog_Actions)
endfunction
function Trig_Dialog_select_Func001Func001Func001Func001Func001C takes nothing returns boolean
if(not(GetClickedButtonBJ()==udg_M9P2QS7U5l4V5W9O45lO7041D2G5K3[5]))then
return false
endif
return true
endfunction
function Trig_Dialog_select_Func001Func001Func001Func001C takes nothing returns boolean
if(not(GetClickedButtonBJ()==udg_M9P2QS7U5l4V5W9O45lO7041D2G5K3[4]))then
return false
endif
return true
endfunction
function Trig_Dialog_select_Func001Func001Func001C takes nothing returns boolean
if(not(GetClickedButtonBJ()==udg_M9P2QS7U5l4V5W9O45lO7041D2G5K3[3]))then
return false
endif
return true
endfunction
function Trig_Dialog_select_Func001Func001C takes nothing returns boolean
if(not(GetClickedButtonBJ()==udg_M9P2QS7U5l4V5W9O45lO7041D2G5K3[2]))then
return false
endif
return true
endfunction
function Trig_Dialog_select_Func001C takes nothing returns boolean
if(not(GetClickedButtonBJ()==udg_M9P2QS7U5l4V5W9O45lO7041D2G5K3[1]))then
return false
endif
return true
endfunction
function Trig_Dialog_select_Func002002 takes nothing returns nothing
call PanCameraToTimedLocForPlayer(GetEnumPlayer(),GetRectCenter(gg_rct_______ShowHero),0)
endfunction
function Trig_Dialog_select_Func003Func001C takes nothing returns boolean
if(not(GetPlayerSlotState(ConvertedPlayer(GetForLoopIndexA()))==PLAYER_SLOT_STATE_PLAYING))then
return false
endif
if(not(GetPlayerController(ConvertedPlayer(GetForLoopIndexA()))!=MAP_CONTROL_COMPUTER))then
return false
endif
return true
endfunction
function Trig_Dialog_select_Actions takes nothing returns nothing
if(Trig_Dialog_select_Func001C())then
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_ALWAYSHINT,(GetPlayerName(GetTriggerPlayer())+"选择了[ 入门难度 ]"))
set udg_M9P2Q7U5l4V5W9O45lO70N41D2G5K3=700.
call EnableTrigger(gg_trg_GongZi)
call StartTimerBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[1],false,1200.)
call CreateTimerDialogBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[1],"菜鸟难度优惠时间")
set udg_M9P2Q7U5l4V5W9O45lO7041D2GO5K3[1]=GetLastCreatedTimerDialogBJ()
else
if(Trig_Dialog_select_Func001Func001C())then
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_ALWAYSHINT,(GetPlayerName(GetTriggerPlayer())+"选择了[ 普通难度 ]"))
set udg_M9P2Q7U5l4V5W9O45lO70N41D2G5K3=650.
call EnableTrigger(gg_trg_GongZi2)
call EnableTrigger(gg_trg_BossA)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]=1
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[15]=1
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]+5)
call SetPlayerTechResearchedSwap('Rhan',2,Player(11))
call SetPlayerTechResearchedSwap('Rhan',1,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Remk',2,Player(11))
call SetPlayerTechResearchedSwap('Remk',1,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Rhme',1,Player(11))
call SetPlayerTechResearchedSwap('Rhme',1,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Rugf',1,Player(11))
call SetPlayerTechResearchedSwap('Rugf',1,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetUnitAbilityLevelSwapped('A0CC',gg_unit_u00D_0269,2)
call SetUnitAbilityLevelSwapped('A0CC',gg_unit_u00D_0309,2)
else
if(Trig_Dialog_select_Func001Func001Func001C())then
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_ALWAYSHINT,(GetPlayerName(GetTriggerPlayer())+"选择了[ 中级难度 ]"))
set udg_M9P2Q7U5l4V5W9O45lO70N41D2G5K3=600.
call EnableTrigger(gg_trg_GongZi3)
call EnableTrigger(gg_trg_BossA)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]=2
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[15]=2
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]+10)
call SetPlayerTechResearchedSwap('Rhan',3,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Rhan',2,Player(11))
call SetPlayerTechResearchedSwap('Remk',3,Player(11))
call SetPlayerTechResearchedSwap('Remk',2,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Rhme',1,Player(11))
call SetPlayerTechResearchedSwap('Rhme',1,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Rugf',1,Player(11))
call SetPlayerTechResearchedSwap('Rugf',1,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Renb',3,Player(11))
call SetPlayerTechResearchedSwap('Renb',3,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetUnitAbilityLevelSwapped('A0CC',gg_unit_u00D_0269,3)
call SetUnitAbilityLevelSwapped('A0CC',gg_unit_u00D_0309,3)
else
if(Trig_Dialog_select_Func001Func001Func001Func001C())then
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_ALWAYSHINT,(GetPlayerName(GetTriggerPlayer())+"选择了[ 高级难度 ]"))
set udg_M9P2Q7U5l4V5W9O45lO70N41D2G5K3=550.
call EnableTrigger(gg_trg_BossA)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]=3
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[15]=3
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]+10)
call SetPlayerTechResearchedSwap('Rhan',5,Player(11))
call SetPlayerTechResearchedSwap('Rhan',5,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Remk',3,Player(11))
call SetPlayerTechResearchedSwap('Remk',3,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Rhme',2,Player(11))
call SetPlayerTechResearchedSwap('Rhme',2,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Rugf',2,Player(11))
call SetPlayerTechResearchedSwap('Rugf',2,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Renb',4,Player(11))
call SetPlayerTechResearchedSwap('Renb',4,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetUnitAbilityLevelSwapped('A0CC',gg_unit_u00D_0269,4)
call SetUnitAbilityLevelSwapped('A0CC',gg_unit_u00D_0309,4)
else
if(Trig_Dialog_select_Func001Func001Func001Func001Func001C())then
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_ALWAYSHINT,(GetPlayerName(GetTriggerPlayer())+"选择了[ 地狱难度 ]"))
set udg_M9P2Q7U5l4V5W9O45lO70N41D2G5K3=500.
call EnableTrigger(gg_trg_BossA)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]=4
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[15]=4
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[19]+10)
call SetPlayerTechResearchedSwap('Rhan',6,Player(11))
call SetPlayerTechResearchedSwap('Rhan',6,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Remk',5,Player(11))
call SetPlayerTechResearchedSwap('Remk',5,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Rhme',3,Player(11))
call SetPlayerTechResearchedSwap('Rhme',3,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Rugf',5,Player(11))
call SetPlayerTechResearchedSwap('Rugf',5,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetPlayerTechResearchedSwap('Renb',5,Player(11))
call SetPlayerTechResearchedSwap('Renb',5,Player(PLAYER_NEUTRAL_AGGRESSIVE))
call SetUnitAbilityLevelSwapped('A0CC',gg_unit_u00D_0269,4)
call SetUnitAbilityLevelSwapped('A0CC',gg_unit_u00D_0309,4)
else
endif
endif
endif
endif
endif
call ForForce(GetPlayersAll(),function Trig_Dialog_select_Func002002)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=7
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Dialog_select_Func003Func001C())then
call SetPlayerTechResearchedSwap('Rhan',(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+2),ConvertedPlayer(GetForLoopIndexA()))
call SetPlayerTechResearchedSwap('R000',(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1),ConvertedPlayer(GetForLoopIndexA()))
call SetPlayerTechResearchedSwap('R001',(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1),ConvertedPlayer(GetForLoopIndexA()))
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call FogEnableOn()
call FogMaskEnableOn()
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[20]=4
call SetUnitAbilityLevelSwapped('A00F',gg_unit_u00B_0268,21)
call MultiboardSetTitleText(GetLastCreatedMultiboard(),("排行榜("+(("版本 "+"3.9J")+(" 难度 "+(I2S((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1))+")")))))
call PlaySoundBJ(gg_snd_Sound06)
call ConditionalTriggerExecute(gg_trg_Hero_show)
call EnableTrigger(gg_trg_Skill_del)
call EnableTrigger(gg_trg_Skill_del2)
call EnableTrigger(gg_trg_Skill_up)
call EnableTrigger(gg_trg_Skill_up2)
endfunction
function InitTrig_Dialog_select takes nothing returns nothing
set gg_trg_Dialog_select=CreateTrigger()
call TriggerRegisterDialogEventBJ(gg_trg_Dialog_select,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[1])
call TriggerAddAction(gg_trg_Dialog_select,function Trig_Dialog_select_Actions)
endfunction
function Trig_Hero_close_Func001C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]==0))then
return false
endif
return true
endfunction
function Trig_Hero_close_Actions takes nothing returns nothing
if(Trig_Hero_close_Func001C())then
call EnableTrigger(gg_trg_BossA)
else
endif
call RemoveUnit(gg_unit_n007_0003)
call TriggerSleepAction(2.)
call DestroyTrigger(gg_trg_Hero_choice)
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_MISSIONFAILED,"|cffFF0066游戏已经开始20分钟，关闭选择英雄功能！")
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Hero_close takes nothing returns nothing
set gg_trg_Hero_close=CreateTrigger()
call TriggerRegisterTimerEventSingle(gg_trg_Hero_close,1200.)
call TriggerAddAction(gg_trg_Hero_close,function Trig_Hero_close_Actions)
endfunction
function Trig_Open_Boss_Conditions takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3==0))then
return false
endif
return true
endfunction
function Trig_Open_Boss_Actions takes nothing returns nothing
call TriggerExecute(gg_trg_BossA)
call PlaySoundBJ(gg_snd_Sound07)
call DisplayTimedTextToForce(GetPlayersAll(),30.,"|cffFF0066游戏已经开始四十分钟，魔族BOSS已经等得极不耐烦，现在开始强行出场！")
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Open_Boss takes nothing returns nothing
set gg_trg_Open_Boss=CreateTrigger()
call TriggerRegisterTimerEventSingle(gg_trg_Open_Boss,2400.)
call TriggerAddCondition(gg_trg_Open_Boss,Condition(function Trig_Open_Boss_Conditions))
call TriggerAddAction(gg_trg_Open_Boss,function Trig_Open_Boss_Actions)
endfunction
function Trig_Skill1_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[1]='A02C'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[2]='A02D'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[3]='A02E'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[4]='A02H'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[5]='A02F'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[6]='A04Z'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[7]='A02I'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[8]='A04B'
set udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3[1]='A02O'
set udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3[2]='A046'
set udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3[3]='A055'
set udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3[4]='A03O'
set udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3[5]='A035'
set udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3[6]='A04G'
set udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3[7]='A05D'
set udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3[8]='A02X'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[21]='A03G'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[22]='A03G'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[23]='A060'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[24]='A03I'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[25]='A038'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[26]='A068'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[27]='A04H'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[28]='A03Y'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[29]='A03L'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[30]='A06K'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[31]='A01A'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[32]='A01X'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[33]='A068'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[34]='A05U'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[35]='A04P'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[36]='A068'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[37]='A03A'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[38]='A060'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[39]='A04I'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[40]='A02Y'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[41]='A05R'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[42]='A02Y'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[43]='A018'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[44]='A05U'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[45]='A068'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[46]='A04C'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[47]='A04H'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[48]='A031'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[49]='A03I'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[50]='A060'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[51]='A062'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[52]='A03I'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[53]='A031'
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Skill1 takes nothing returns nothing
set gg_trg_Skill1=CreateTrigger()
call TriggerAddAction(gg_trg_Skill1,function Trig_Skill1_Actions)
endfunction
function Trig_Skill2_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7D041D2G5K3[1]='A02U'
set udg_M9P2Q7U5l4V5W9O45lO7D041D2G5K3[2]='A04T'
set udg_M9P2Q7U5l4V5W9O45lO7D041D2G5K3[3]='A036'
set udg_M9P2Q7U5l4V5W9O45lO7D041D2G5K3[4]='A06A'
set udg_M9P2Q7U5l4V5W9O45lO7D041D2G5K3[5]='A03G'
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Skill2 takes nothing returns nothing
set gg_trg_Skill2=CreateTrigger()
call TriggerAddAction(gg_trg_Skill2,function Trig_Skill2_Actions)
endfunction
function Trig_Skill3_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO70S41D2G5K3[1]='A048'
set udg_M9P2Q7U5l4V5W9O45lO70S41D2G5K3[2]='A02Q'
set udg_M9P2Q7U5l4V5W9O45lO70S41D2G5K3[3]='A05F'
set udg_M9P2Q7U5l4V5W9O45lO70S41D2G5K3[4]='A03Q'
set udg_M9P2Q7U5l4V5W9O45lO70S41D2G5K3[5]='A04U'
set udg_M9P2Q7U5l4V5W9O45lO70S41D2G5K3[6]='A038'
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Skill3 takes nothing returns nothing
set gg_trg_Skill3=CreateTrigger()
call TriggerAddAction(gg_trg_Skill3,function Trig_Skill3_Actions)
endfunction
function Trig_Skill4_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[1]='A0C9'
set udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[2]='A05J'
set udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[3]='A03L'
set udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[4]='A051'
set udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[5]='A051'
set udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[6]='A04E'
set udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[7]='A06G'
set udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[8]='A03B'
set udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[9]='A06K'
set udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[10]='A03P'
set udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[11]='A0C9'
set udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[12]='A01X'
set udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[13]='A03U'
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Skill4 takes nothing returns nothing
set gg_trg_Skill4=CreateTrigger()
call TriggerAddAction(gg_trg_Skill4,function Trig_Skill4_Actions)
endfunction
function Trig_Skill5_Actions takes nothing returns nothing
set udg_M9P2Q7UD5l4V5W9O45lO704DD2G5K3[1]='A068'
set udg_M9P2Q7UD5l4V5W9O45lO704DD2G5K3[2]='A06J'
set udg_M9P2Q7UD5l4V5W9O45lO704DD2G5K3[3]='A067'
set udg_M9P2Q7UD5l4V5W9O45lO704DD2G5K3[4]='A01Q'
set udg_M9P2Q7UD5l4V5W9O45lO704DD2G5K3[5]='A01Q'
set udg_M9P2Q7UD5l4V5W9O45lO704DD2G5K3[6]='A037'
set udg_M9P2Q7UD5l4V5W9O45lO704DD2G5K3[7]='A04P'
set udg_M9P2Q7UD5l4V5W9O45lO704DD2G5K3[8]='A039'
set udg_M9P2Q7UD5l4V5W9O45lO704DD2G5K3[9]='A05L'
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Skill5 takes nothing returns nothing
set gg_trg_Skill5=CreateTrigger()
call TriggerAddAction(gg_trg_Skill5,function Trig_Skill5_Actions)
endfunction
function Trig_Skill6_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3[1]='A06B'
set udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3[2]='A02R'
set udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3[3]='A03T'
set udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3[4]='A01F'
set udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3[5]='A06I'
set udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3[6]='A02T'
set udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3[7]='A060'
set udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3[8]='A00E'
set udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3[9]='A063'
set udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3[10]='A04I'
set udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3[11]='A06H'
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Skill6 takes nothing returns nothing
set gg_trg_Skill6=CreateTrigger()
call TriggerAddAction(gg_trg_Skill6,function Trig_Skill6_Actions)
endfunction
function Trig_Skill7_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lOD7041D2G5K3[1]='A03S'
set udg_M9P2Q7U5l4V5W9O45lOD7041D2G5K3[2]='A04L'
set udg_M9P2Q7U5l4V5W9O45lOD7041D2G5K3[3]='A05R'
set udg_M9P2Q7U5l4V5W9O45lOD7041D2G5K3[4]='A059'
set udg_M9P2Q7U5l4V5W9O45lOD7041D2G5K3[5]='A03A'
set udg_M9P2Q7U5l4V5W9O45lOD7041D2G5K3[6]='A03C'
set udg_M9P2Q7U5l4V5W9O45lOD7041D2G5K3[7]='A02Y'
set udg_M9P2Q7U5l4V5W9O45lOD7041D2G5K3[8]='A03S'
set udg_M9P2Q7U5l4V5W9O45lOD7041D2G5K3[9]='A03S'
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Skill7 takes nothing returns nothing
set gg_trg_Skill7=CreateTrigger()
call TriggerAddAction(gg_trg_Skill7,function Trig_Skill7_Actions)
endfunction
function Trig_Skill8_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[1]='A018'
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[2]='A03C'
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[3]='A03C'
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[4]='A01A'
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[5]='A05U'
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[6]='A04W'
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[7]='A05Z'
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[8]='A04C'
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[9]='A03D'
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[10]='A04Y'
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[11]='A04H'
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[12]='A031'
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[13]='A03I'
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[14]='A05A'
set udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[15]='A043'
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Skill8 takes nothing returns nothing
set gg_trg_Skill8=CreateTrigger()
call TriggerAddAction(gg_trg_Skill8,function Trig_Skill8_Actions)
endfunction
function Trig_Skill_buy1_Conditions takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I00T'))then
return false
endif
return true
endfunction
function Trig_Skill_buy1_Func006Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]==udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]))then
return false
endif
return true
endfunction
function Trig_Skill_buy1_Func008Func001Func001C takes nothing returns boolean
if(not(GetForLoopIndexA()==16))then
return false
endif
return true
endfunction
function Trig_Skill_buy1_Func008Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]==udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+17)]))then
return false
endif
return true
endfunction
function Trig_Skill_buy1_Actions takes nothing returns nothing
call RemoveItem(GetManipulatedItem())
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())*18)]=GetRandomInt(1,8)
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())*18)]]
set bj_forLoopAIndex=7
set bj_forLoopAIndexEnd=16
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_buy1_Func006Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,("神圣方尖碑回应了你的祈求，赋予你技能：<"+(GetAbilityName(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])+">，可惜你已经学过了")))
return
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=7
set bj_forLoopAIndexEnd=16
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_buy1_Func008Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)],GetTriggerUnit())
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3[udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())*18)]])
call SetPlayerAbilityAvailableBJ(false,udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)],GetOwningPlayer(GetTriggerUnit()))
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_ITEMACQUIRED,("神圣方尖碑回应了你的祈求，赋予你技能：<"+(GetAbilityName(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])+">")))
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_ITEMACQUIRED,"|cff00FFFF技能提示：升级技能按方向键↓   删除技能按方向键→|r")
return
else
if(Trig_Skill_buy1_Func008Func001Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,"你的祈求得不到回应，因为你的魔法书已经满了！")
return
else
endif
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Skill_buy1 takes nothing returns nothing
set gg_trg_Skill_buy1=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Skill_buy1,EVENT_PLAYER_UNIT_USE_ITEM)
call TriggerRegisterAnyUnitEventBJ(gg_trg_Skill_buy1,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(gg_trg_Skill_buy1,Condition(function Trig_Skill_buy1_Conditions))
call TriggerAddAction(gg_trg_Skill_buy1,function Trig_Skill_buy1_Actions)
endfunction
function Trig_Skill_buy2_Conditions takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I00S'))then
return false
endif
return true
endfunction
function Trig_Skill_buy2_Func002Func001Func001Func001C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[魔]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy2_Func002Func001Func001C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[弓]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy2_Func002Func001C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[敏]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy2_Func002C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[力]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy2_Func004Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]==udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]))then
return false
endif
return true
endfunction
function Trig_Skill_buy2_Func006Func001Func001C takes nothing returns boolean
if(not(GetForLoopIndexA()==5))then
return false
endif
return true
endfunction
function Trig_Skill_buy2_Func006Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]==udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+17)]))then
return false
endif
return true
endfunction
function Trig_Skill_buy2_Actions takes nothing returns nothing
call RemoveItem(GetManipulatedItem())
if(Trig_Skill_buy2_Func002C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lO7D041D2G5K3[GetRandomInt(1,4)]
else
if(Trig_Skill_buy2_Func002Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lO7D041D2G5K3[GetRandomInt(1,4)]
else
if(Trig_Skill_buy2_Func002Func001Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lO7D041D2G5K3[GetRandomInt(1,4)]
else
if(Trig_Skill_buy2_Func002Func001Func001Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lO7D041D2G5K3[GetRandomInt(1,5)]
else
endif
endif
endif
endif
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_buy2_Func004Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,("神圣方尖碑回应了你的祈求，赋予你技能：<"+(GetAbilityName(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])+">，可惜你已经学过了")))
return
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_buy2_Func006Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)],GetTriggerUnit())
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_ITEMACQUIRED,("神圣方尖碑回应了你的祈求，赋予你技能：<"+(GetAbilityName(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])+">")))
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_ITEMACQUIRED,"|cff00FFFF技能提示：升级技能按方向键↑   删除技能按方向键←  (请注意3.9H以后版本只有法师能学到医疗波)|r")
return
else
if(Trig_Skill_buy2_Func006Func001Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,"你的祈求得不到回应，因为你的技能面板已经满了！")
call AdjustPlayerStateBJ(200,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
return
else
endif
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Skill_buy2 takes nothing returns nothing
set gg_trg_Skill_buy2=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Skill_buy2,EVENT_PLAYER_UNIT_USE_ITEM)
call TriggerRegisterAnyUnitEventBJ(gg_trg_Skill_buy2,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(gg_trg_Skill_buy2,Condition(function Trig_Skill_buy2_Conditions))
call TriggerAddAction(gg_trg_Skill_buy2,function Trig_Skill_buy2_Actions)
endfunction
function Trig_Skill_buy3_Conditions takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I00Q'))then
return false
endif
return true
endfunction
function Trig_Skill_buy3_Func003Func001Func001Func001C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[魔]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy3_Func003Func001Func001C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[弓]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy3_Func003Func001C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[敏]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy3_Func003C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[力]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy3_Func005Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]==udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]))then
return false
endif
return true
endfunction
function Trig_Skill_buy3_Func007Func001Func001C takes nothing returns boolean
if(not(GetForLoopIndexA()==5))then
return false
endif
return true
endfunction
function Trig_Skill_buy3_Func007Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]==udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+17)]))then
return false
endif
return true
endfunction
function Trig_Skill_buy3_Actions takes nothing returns nothing
call RemoveItem(GetManipulatedItem())
if(Trig_Skill_buy3_Func003C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[GetRandomInt(1,13)]
else
if(Trig_Skill_buy3_Func003Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lO7041DD2G5K3[GetRandomInt(1,13)]
else
if(Trig_Skill_buy3_Func003Func001Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7UD5l4V5W9O45lO704DD2G5K3[GetRandomInt(1,9)]
else
if(Trig_Skill_buy3_Func003Func001Func001Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3[GetRandomInt(1,11)]
else
endif
endif
endif
endif
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_buy3_Func005Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,("神圣方尖碑回应了你的祈求，赋予你技能：<"+(GetAbilityName(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])+">，可惜你已经学过了")))
return
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_buy3_Func007Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)],GetTriggerUnit())
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_ITEMACQUIRED,("神圣方尖碑回应了你的祈求，赋予你技能：<"+(GetAbilityName(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])+">")))
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_ITEMACQUIRED,"|cff00FFFF技能提示：升级技能按方向键↑   删除技能按方向键←|r")
return
else
if(Trig_Skill_buy3_Func007Func001Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,"你的祈求得不到回应，因为你的技能面板已经满了！")
call AdjustPlayerStateBJ(200,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
return
else
endif
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Skill_buy3 takes nothing returns nothing
set gg_trg_Skill_buy3=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Skill_buy3,EVENT_PLAYER_UNIT_USE_ITEM)
call TriggerRegisterAnyUnitEventBJ(gg_trg_Skill_buy3,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(gg_trg_Skill_buy3,Condition(function Trig_Skill_buy3_Conditions))
call TriggerAddAction(gg_trg_Skill_buy3,function Trig_Skill_buy3_Actions)
endfunction
function Trig_Skill_buy4_Conditions takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I00R'))then
return false
endif
return true
endfunction
function Trig_Skill_buy4_Func003Func001Func002Func002C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[魔]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy4_Func003Func001Func002C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[弓]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy4_Func003Func001C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[敏]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy4_Func003C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[力]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy4_Func005Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]==udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]))then
return false
endif
return true
endfunction
function Trig_Skill_buy4_Func007Func001Func001C takes nothing returns boolean
if(not(GetForLoopIndexA()==5))then
return false
endif
return true
endfunction
function Trig_Skill_buy4_Func007Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]==udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+17)]))then
return false
endif
return true
endfunction
function Trig_Skill_buy4_Actions takes nothing returns nothing
call RemoveItem(GetManipulatedItem())
if(Trig_Skill_buy4_Func003C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lOD7041D2G5K3[GetRandomInt(1,9)]
else
if(Trig_Skill_buy4_Func003Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lOD7041D2G5K3[GetRandomInt(1,9)]
else
if(Trig_Skill_buy4_Func003Func001Func002C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lOD7041D2G5K3[GetRandomInt(2,7)]
else
if(Trig_Skill_buy4_Func003Func001Func002Func002C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lDO7041D2G5K3[GetRandomInt(1,15)]
else
endif
endif
endif
endif
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_buy4_Func005Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,("神圣方尖碑回应了你的祈求，赋予你技能：<"+(GetAbilityName(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])+">，可惜你已经学过了")))
return
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_buy4_Func007Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)],GetTriggerUnit())
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_ITEMACQUIRED,("神圣方尖碑回应了你的祈求，赋予你技能：<"+(GetAbilityName(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])+">")))
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_ITEMACQUIRED,"|cff00FFFF技能提示：升级技能按方向键↑   删除技能按方向键←|r")
return
else
if(Trig_Skill_buy4_Func007Func001Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,"你的祈求得不到回应，因为你的技能面板已经满了！")
call AdjustPlayerStateBJ(200,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
return
else
endif
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Skill_buy4 takes nothing returns nothing
set gg_trg_Skill_buy4=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Skill_buy4,EVENT_PLAYER_UNIT_USE_ITEM)
call TriggerRegisterAnyUnitEventBJ(gg_trg_Skill_buy4,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(gg_trg_Skill_buy4,Condition(function Trig_Skill_buy4_Conditions))
call TriggerAddAction(gg_trg_Skill_buy4,function Trig_Skill_buy4_Actions)
endfunction
function Trig_Skill_buy5_Conditions takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I00U'))then
return false
endif
return true
endfunction
function Trig_Skill_buy5_Func003Func001Func004Func004C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[魔]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy5_Func003Func001Func004C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[弓]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy5_Func003Func001C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[敏]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy5_Func003C takes nothing returns boolean
if(not(SubStringBJ(GetUnitName(GetTriggerUnit()),1,5)=="[力]"))then
return false
endif
return true
endfunction
function Trig_Skill_buy5_Func005Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]==udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]))then
return false
endif
return true
endfunction
function Trig_Skill_buy5_Func007Func001Func001C takes nothing returns boolean
if(not(GetForLoopIndexA()==5))then
return false
endif
return true
endfunction
function Trig_Skill_buy5_Func007Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]==udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+17)]))then
return false
endif
return true
endfunction
function Trig_Skill_buy5_Actions takes nothing returns nothing
call RemoveItem(GetManipulatedItem())
if(Trig_Skill_buy5_Func003C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lO70S41D2G5K3[GetRandomInt(1,6)]
else
if(Trig_Skill_buy5_Func003Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,"只有力量型英雄才能学到防御性技能！")
call AdjustPlayerStateBJ(200,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
return
else
if(Trig_Skill_buy5_Func003Func001Func004C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,"只有力量型英雄才能学到防御性技能！")
call AdjustPlayerStateBJ(200,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
return
else
if(Trig_Skill_buy5_Func003Func001Func004Func004C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,"只有力量型英雄才能学到防御性技能！")
call AdjustPlayerStateBJ(200,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
return
else
endif
endif
endif
endif
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_buy5_Func005Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,("神圣方尖碑回应了你的祈求，赋予你技能：<"+(GetAbilityName(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])+">，可惜你已经学过了")))
return
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_buy5_Func007Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)],GetTriggerUnit())
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_ITEMACQUIRED,("神圣方尖碑回应了你的祈求，赋予你技能：<"+(GetAbilityName(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)])+">")))
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_ITEMACQUIRED,"|cff00FFFF技能提示：升级技能按方向键↑   删除技能按方向键←|r")
return
else
if(Trig_Skill_buy5_Func007Func001Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_WARNING,"你的祈求得不到回应，因为你的技能面板已经满了！")
call AdjustPlayerStateBJ(200,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
return
else
endif
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Skill_buy5 takes nothing returns nothing
set gg_trg_Skill_buy5=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Skill_buy5,EVENT_PLAYER_UNIT_USE_ITEM)
call TriggerRegisterAnyUnitEventBJ(gg_trg_Skill_buy5,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(gg_trg_Skill_buy5,Condition(function Trig_Skill_buy5_Conditions))
call TriggerAddAction(gg_trg_Skill_buy5,function Trig_Skill_buy5_Actions)
endfunction
function Trig_Skill_del_Func002C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])!=true))then
return false
endif
return true
endfunction
function Trig_Skill_del_Func006Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]!=udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+17)]))then
return false
endif
return true
endfunction
function Trig_Skill_del_Actions takes nothing returns nothing
call ForceUIKeyBJ(GetTriggerPlayer(),"M")
if(Trig_Skill_del_Func002C())then
call DialogClear(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)])
call DialogSetMessage(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],"系统提示")
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],"死亡状态不能操作")
call DialogDisplayBJ(true,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],GetTriggerPlayer())
return
else
endif
call DialogClear(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)])
call DialogSetMessage(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],"删除技能面板中的技能")
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_del_Func006Func001C())then
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],GetAbilityName(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]))
set udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=GetLastCreatedButtonBJ()
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],"取消删除")
call DialogDisplayBJ(true,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],GetTriggerPlayer())
endfunction
function InitTrig_Skill_del takes nothing returns nothing
set gg_trg_Skill_del=CreateTrigger()
call DisableTrigger(gg_trg_Skill_del)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del,Player(0),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_LEFT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del,Player(1),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_LEFT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del,Player(2),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_LEFT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del,Player(3),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_LEFT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del,Player(4),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_LEFT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del,Player(5),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_LEFT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del,Player(6),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_LEFT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del,Player(7),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_LEFT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del,Player(8),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_LEFT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del,Player(9),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_LEFT)
call TriggerAddAction(gg_trg_Skill_del,function Trig_Skill_del_Actions)
endfunction
function Trig_Skill_delsave_Func001C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])!=true))then
return false
endif
return true
endfunction
function Trig_Skill_delsave_Func002Func001Func002Func001C takes nothing returns boolean
if(not(UnitHasBuffBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],'BHav')==true))then
return false
endif
return true
endfunction
function Trig_Skill_delsave_Func002Func001Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=='A02Q'))then
return false
endif
return true
endfunction
function Trig_Skill_delsave_Func002Func001C takes nothing returns boolean
if(not(GetClickedButtonBJ()==udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]))then
return false
endif
return true
endfunction
function Trig_Skill_delsave_Actions takes nothing returns nothing
if(Trig_Skill_delsave_Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"死亡状态下不能执行本操作！")
return
else
endif
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_delsave_Func002Func001C())then
if(Trig_Skill_delsave_Func002Func001Func002C())then
if(Trig_Skill_delsave_Func002Func001Func002Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"天神下凡状态下不能删除天神下凡！")
return
else
endif
else
endif
call UnitRemoveAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())],udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[17]
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Skill_delsave takes nothing returns nothing
set gg_trg_Skill_delsave=CreateTrigger()
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[11])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[12])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[13])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[14])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[15])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[16])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[17])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[18])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[19])
call TriggerAddAction(gg_trg_Skill_delsave,function Trig_Skill_delsave_Actions)
endfunction
function Trig_Skill_del2_Func002C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])!=true))then
return false
endif
return true
endfunction
function Trig_Skill_del2_Func006Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]!=udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+17)]))then
return false
endif
return true
endfunction
function Trig_Skill_del2_Actions takes nothing returns nothing
call ForceUIKeyBJ(GetTriggerPlayer(),"M")
if(Trig_Skill_del2_Func002C())then
call DialogClear(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)])
call DialogSetMessage(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],"系统提示")
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],"死亡状态不能操作")
call DialogDisplayBJ(true,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],GetTriggerPlayer())
return
else
endif
call DialogClear(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+20)])
call DialogSetMessage(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+20)],"删除魔法书中的技能")
set bj_forLoopAIndex=7
set bj_forLoopAIndexEnd=16
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_del2_Func006Func001C())then
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+20)],GetAbilityName(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]))
set udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=GetLastCreatedButtonBJ()
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+20)],"取消删除")
call DialogDisplayBJ(true,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+20)],GetTriggerPlayer())
endfunction
function InitTrig_Skill_del2 takes nothing returns nothing
set gg_trg_Skill_del2=CreateTrigger()
call DisableTrigger(gg_trg_Skill_del2)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del2,Player(0),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del2,Player(1),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del2,Player(2),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del2,Player(3),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del2,Player(4),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del2,Player(5),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del2,Player(6),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del2,Player(7),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del2,Player(8),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_del2,Player(9),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT)
call TriggerAddAction(gg_trg_Skill_del2,function Trig_Skill_del2_Actions)
endfunction
function Trig_Skill_delsave2_Func001C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])!=true))then
return false
endif
return true
endfunction
function Trig_Skill_delsave2_Func002Func001C takes nothing returns boolean
if(not(GetClickedButtonBJ()==udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]))then
return false
endif
return true
endfunction
function Trig_Skill_delsave2_Actions takes nothing returns nothing
if(Trig_Skill_delsave2_Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"死亡状态下不能执行本操作！")
return
else
endif
set bj_forLoopAIndex=7
set bj_forLoopAIndexEnd=16
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_delsave2_Func002Func001C())then
call UnitRemoveAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())],udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[17]
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Skill_delsave2 takes nothing returns nothing
set gg_trg_Skill_delsave2=CreateTrigger()
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[21])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[22])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[23])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[24])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[25])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[26])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[27])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[28])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_delsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[29])
call TriggerAddAction(gg_trg_Skill_delsave2,function Trig_Skill_delsave2_Actions)
endfunction
function Trig_Skill_up_Func002C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])!=true))then
return false
endif
return true
endfunction
function Trig_Skill_up_Func008Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]!=udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+17)]))then
return false
endif
if(not(GetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())],udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])<5))then
return false
endif
return true
endfunction
function Trig_Skill_up_Actions takes nothing returns nothing
call ForceUIKeyBJ(GetTriggerPlayer(),"M")
if(Trig_Skill_up_Func002C())then
call DialogClear(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)])
call DialogSetMessage(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],"系统提示")
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],"死亡状态不能操作")
call DialogDisplayBJ(true,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],GetTriggerPlayer())
return
else
endif
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=0
call DialogClear(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+30)])
call DialogSetMessage(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+30)],"升级技能面板中的技能")
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_up_Func008Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=GetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())],udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+30)],((((((("需"+I2S(((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14])*100)))+"金")+I2S(((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[15])*10)))+"经验 ")+GetAbilityName(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]))+"")+I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])))
set udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=GetLastCreatedButtonBJ()
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+30)],"取消升级")
call DialogDisplayBJ(true,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+30)],GetTriggerPlayer())
endfunction
function InitTrig_Skill_up takes nothing returns nothing
set gg_trg_Skill_up=CreateTrigger()
call DisableTrigger(gg_trg_Skill_up)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up,Player(0),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up,Player(1),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up,Player(2),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up,Player(3),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up,Player(4),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up,Player(5),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up,Player(6),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up,Player(7),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up,Player(8),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up,Player(9),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP)
call TriggerAddAction(gg_trg_Skill_up,function Trig_Skill_up_Actions)
endfunction
function Trig_Skill_upsave_Func001C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])!=true))then
return false
endif
return true
endfunction
function Trig_Skill_upsave_Func003Func001Func006Func001C takes nothing returns boolean
if(not(R2I(udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*10)+3)])<((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[15])*10)))then
return false
endif
return true
endfunction
function Trig_Skill_upsave_Func003Func001Func006C takes nothing returns boolean
if(not(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)<((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14])*100)))then
return false
endif
return true
endfunction
function Trig_Skill_upsave_Func003Func001C takes nothing returns boolean
if(not(GetClickedButtonBJ()==udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]))then
return false
endif
return true
endfunction
function Trig_Skill_upsave_Actions takes nothing returns nothing
if(Trig_Skill_upsave_Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"死亡状态下不能执行本操作！")
return
else
endif
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_upsave_Func003Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=GetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())],udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
if(Trig_Skill_upsave_Func003Func001Func006C())then
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"|cffcc6699你的金币不足以支付升级所需！")
return
else
if(Trig_Skill_upsave_Func003Func001Func006Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"|cffcc6699你的经验不足以支付升级所需！经验数量请查看屏幕右上排行榜。")
return
else
endif
endif
call SetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())],udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+1))
set udg_M9P2Q7U5l4V5W9O45lO704N1D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+1)
call AdjustPlayerStateBJ((((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14])*100)*-1),GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*10)+3)]=(udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*10)+3)]-I2R(((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[15])*10)))
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),10,(GetConvertedPlayerId(GetTriggerPlayer())+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+I2S(R2I(udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*10)+3)]))))
return
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Skill_upsave takes nothing returns nothing
set gg_trg_Skill_upsave=CreateTrigger()
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[31])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[32])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[33])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[34])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[35])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[36])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[37])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[38])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[39])
call TriggerAddAction(gg_trg_Skill_upsave,function Trig_Skill_upsave_Actions)
endfunction
function Trig_Skill_up2_Func002C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])!=true))then
return false
endif
return true
endfunction
function Trig_Skill_up2_Func008Func002Func002Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[GetForLoopIndexB()]==udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]))then
return false
endif
if(not(GetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3[GetForLoopIndexB()],udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])<5))then
return false
endif
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]!=9999))then
return false
endif
return true
endfunction
function Trig_Skill_up2_Func008Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]!=udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+17)]))then
return false
endif
return true
endfunction
function Trig_Skill_up2_Actions takes nothing returns nothing
call ForceUIKeyBJ(GetTriggerPlayer(),"M")
if(Trig_Skill_up2_Func002C())then
call DialogClear(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)])
call DialogSetMessage(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],"系统提示")
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],"死亡状态不能操作")
call DialogDisplayBJ(true,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+10)],GetTriggerPlayer())
return
else
endif
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=0
call DialogClear(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+40)])
call DialogSetMessage(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+40)],"升级技能面板中的技能")
set bj_forLoopAIndex=7
set bj_forLoopAIndexEnd=16
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=0
if(Trig_Skill_up2_Func008Func002C())then
set bj_forLoopBIndex=1
set bj_forLoopBIndexEnd=12
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
if(Trig_Skill_up2_Func008Func002Func002Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=GetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3[GetForLoopIndexB()],udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3[GetForLoopIndexB()]
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+40)],((((((("需"+I2S(((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14])*500)))+"金")+I2S(((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[15])*50)))+"经验 ")+GetAbilityName(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]))+"")+I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])))
set udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=GetLastCreatedButtonBJ()
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=9999
else
endif
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+40)],"取消升级")
call DialogDisplayBJ(true,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetTriggerPlayer())+40)],GetTriggerPlayer())
endfunction
function InitTrig_Skill_up2 takes nothing returns nothing
set gg_trg_Skill_up2=CreateTrigger()
call DisableTrigger(gg_trg_Skill_up2)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up2,Player(0),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up2,Player(1),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up2,Player(2),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up2,Player(3),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up2,Player(4),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up2,Player(5),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up2,Player(6),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up2,Player(7),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up2,Player(8),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN)
call TriggerRegisterPlayerKeyEventBJ(gg_trg_Skill_up2,Player(9),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN)
call TriggerAddAction(gg_trg_Skill_up2,function Trig_Skill_up2_Actions)
endfunction
function Trig_Skill_upsave2_Func001C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])!=true))then
return false
endif
return true
endfunction
function Trig_Skill_upsave2_Func012Func001Func004Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[GetForLoopIndexB()]==udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]))then
return false
endif
return true
endfunction
function Trig_Skill_upsave2_Func012Func001Func006Func001C takes nothing returns boolean
if(not(R2I(udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*10)+3)])<((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[15])*50)))then
return false
endif
return true
endfunction
function Trig_Skill_upsave2_Func012Func001Func006C takes nothing returns boolean
if(not(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)<((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14])*500)))then
return false
endif
return true
endfunction
function Trig_Skill_upsave2_Func012Func001C takes nothing returns boolean
if(not(GetClickedButtonBJ()==udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]))then
return false
endif
return true
endfunction
function Trig_Skill_upsave2_Actions takes nothing returns nothing
if(Trig_Skill_upsave2_Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"死亡状态下不能执行本操作！")
return
else
endif
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=0
set bj_forLoopAIndex=7
set bj_forLoopAIndexEnd=16
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Skill_upsave2_Func012Func001C())then
set bj_forLoopBIndex=1
set bj_forLoopBIndexEnd=12
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
if(Trig_Skill_upsave2_Func012Func001Func004Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=GetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3[GetForLoopIndexB()],udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)]=udg_M9P2Q7U5l4V5W9O45lOS7041D2G5K3[GetForLoopIndexB()]
else
endif
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
if(Trig_Skill_upsave2_Func012Func001Func006C())then
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"|cffcc6699你的金币不足以支付升级所需！")
return
else
if(Trig_Skill_upsave2_Func012Func001Func006Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"|cffcc6699你的经验不足以支付升级所需！经验数量请查看屏幕右上排行榜。")
return
else
endif
endif
call SetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+18)],udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+1))
call SetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())],udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+1))
set udg_M9P2Q7U5l4V5W9O45lO704N1D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+1)
call AdjustPlayerStateBJ((((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14])*500)*-1),GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
set udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*10)+3)]=(udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*10)+3)]-I2R(((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[15])*50)))
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),10,(GetConvertedPlayerId(GetTriggerPlayer())+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+I2S(R2I(udg_M9P2Q7U5l4V5W39O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*10)+3)]))))
return
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Skill_upsave2 takes nothing returns nothing
set gg_trg_Skill_upsave2=CreateTrigger()
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[41])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[42])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[43])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[44])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[45])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[46])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[47])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[48])
call TriggerRegisterDialogEventBJ(gg_trg_Skill_upsave2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[49])
call TriggerAddAction(gg_trg_Skill_upsave2,function Trig_Skill_upsave2_Actions)
endfunction
function Trig_Hero_move_Func018C takes nothing returns boolean
if((GetItemTypeId(GetManipulatedItem())=='I04U'))then
return true
endif
if((RectContainsUnit(gg_rct______________028,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])==true))then
return true
endif
return false
endfunction
function Trig_Hero_move_Conditions takes nothing returns boolean
if(not Trig_Hero_move_Func018C())then
return false
endif
return true
endfunction
function Trig_Hero_move_Func002C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])!=true))then
return false
endif
return true
endfunction
function Trig_Hero_move_Func006C takes nothing returns boolean
if(not(RectContainsUnit(gg_rct______________028,udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])!=true))then
return false
endif
return true
endfunction
function Trig_Hero_move_Actions takes nothing returns nothing
call ForceUIKeyBJ(GetOwningPlayer(GetTriggerUnit()),"S")
if(Trig_Hero_move_Func002C())then
call DialogClear(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))+10)])
call DialogSetMessage(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))+10)],"系统提示")
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))+10)],"死亡状态不能操作")
call DialogDisplayBJ(true,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))+10)],GetTriggerPlayer())
return
else
endif
call DialogClear(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))+50)])
call DialogSetMessage(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))+50)],"请选择传送地点")
if(Trig_Hero_move_Func006C())then
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))+50)],"取消操作")
set udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+0)]=GetLastCreatedButtonBJ()
else
endif
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))+50)],"左上的方尖碑")
set udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+1)]=GetLastCreatedButtonBJ()
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))+50)],"左下的方尖碑")
set udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]=GetLastCreatedButtonBJ()
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))+50)],"右边的方尖碑")
set udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+3)]=GetLastCreatedButtonBJ()
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))+50)],"雪地的方尖碑")
set udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+4)]=GetLastCreatedButtonBJ()
call DialogAddButtonBJ(udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))+50)],"进入避难所")
set udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+5)]=GetLastCreatedButtonBJ()
call DialogDisplayBJ(true,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[(GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))+50)],GetOwningPlayer(GetTriggerUnit()))
endfunction
function InitTrig_Hero_move takes nothing returns nothing
set gg_trg_Hero_move=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Hero_move,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerRegisterEnterRectSimple(gg_trg_Hero_move,gg_rct______________028)
call TriggerAddCondition(gg_trg_Hero_move,Condition(function Trig_Hero_move_Conditions))
call TriggerAddAction(gg_trg_Hero_move,function Trig_Hero_move_Actions)
endfunction
function Trig_Hero_move2_Func001C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])!=true))then
return false
endif
return true
endfunction
function Trig_Hero_move2_Func002C takes nothing returns boolean
if(not(GetClickedButtonBJ()==udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+0)]))then
return false
endif
return true
endfunction
function Trig_Hero_move2_Func004Func001C takes nothing returns boolean
if(not(GetClickedButtonBJ()==udg_M9P2Q7U5l4VS5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]))then
return false
endif
return true
endfunction
function Trig_Hero_move2_Actions takes nothing returns nothing
if(Trig_Hero_move2_Func001C())then
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"死亡状态下不能执行本操作！")
return
else
endif
if(Trig_Hero_move2_Func002C())then
call AdjustPlayerStateBJ(100,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD)
return
else
endif
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Hero_move2_Func004Func001C())then
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(20+GetConvertedPlayerId(GetTriggerPlayer()))]=1
call SetUnitPositionLoc(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[GetForLoopIndexA()])
call PanCameraToTimedLocForPlayer(GetTriggerPlayer(),udg_M9P2Q7UZ5l4V5W9O45lO7041D2G5K3[GetForLoopIndexA()],0)
return
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Hero_move2 takes nothing returns nothing
set gg_trg_Hero_move2=CreateTrigger()
call TriggerRegisterDialogEventBJ(gg_trg_Hero_move2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[51])
call TriggerRegisterDialogEventBJ(gg_trg_Hero_move2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[52])
call TriggerRegisterDialogEventBJ(gg_trg_Hero_move2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[53])
call TriggerRegisterDialogEventBJ(gg_trg_Hero_move2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[54])
call TriggerRegisterDialogEventBJ(gg_trg_Hero_move2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[55])
call TriggerRegisterDialogEventBJ(gg_trg_Hero_move2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[56])
call TriggerRegisterDialogEventBJ(gg_trg_Hero_move2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[57])
call TriggerRegisterDialogEventBJ(gg_trg_Hero_move2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[58])
call TriggerRegisterDialogEventBJ(gg_trg_Hero_move2,udg_M9P2Q7U5l43V5W9O45lO7041D2G5K3[59])
call TriggerAddAction(gg_trg_Hero_move2,function Trig_Hero_move2_Actions)
endfunction
function Trig_Skill_MQ_Func002Func001Func001Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))])]==udg_M9P2Q7U5l4V5W9O45lO7D041D2G5K3[udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]]))then
return false
endif
return true
endfunction
function Trig_Skill_MQ_Func002Func001Func002Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))])]==udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3[udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]]))then
return false
endif
return true
endfunction
function Trig_Skill_MQ_Func002C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I020'))then
return false
endif
if(not(GetUnitUserData(GetTriggerUnit())==4))then
return false
endif
return true
endfunction
function Trig_Skill_MQ_Func004C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04H'))then
return false
endif
if(not(GetUnitPointValue(GetTriggerUnit())==2))then
return false
endif
return true
endfunction
function Trig_Skill_MQ_Func009C takes nothing returns boolean
if(not(udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(10+GetConvertedPlayerId(GetTriggerPlayer()))]==2))then
return false
endif
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[11]>(((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1)*GetRandomInt(1,3))+GetRandomInt(10,15))))then
return false
endif
return true
endfunction
function Trig_Skill_MQ_Actions takes nothing returns nothing
if(Trig_Skill_MQ_Func002C())then
set udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))]=1
loop
exitwhen udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))]>5
set udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]=1
loop
exitwhen udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]>5
if(Trig_Skill_MQ_Func002Func001Func001Func001C())then
call IncUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))])],GetTriggerUnit())
else
endif
set udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]=udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]+1
endloop
set udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]=1
loop
exitwhen udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]>11
if(Trig_Skill_MQ_Func002Func001Func002Func001C())then
call IncUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))])],GetTriggerUnit())
else
endif
set udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]=udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]+1
endloop
set udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))]=udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))]+1
endloop
return
else
endif
if(Trig_Skill_MQ_Func004C())then
call UnitAddAbilityBJ('A01R',GetTriggerUnit())
call SetPlayerAbilityAvailableBJ(false,'A01R',GetTriggerPlayer())
return
else
endif
if(Trig_Skill_MQ_Func009C())then
call UnitAddAbilityBJ('A01W',udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
call UnitAddAbilityBJ('A02G',udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
else
endif
endfunction
function InitTrig_Skill_MQ takes nothing returns nothing
set gg_trg_Skill_MQ=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Skill_MQ,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddAction(gg_trg_Skill_MQ,function Trig_Skill_MQ_Actions)
endfunction
function Trig_Skill_MQ2_Func001Func001Func001Func001Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))])]==udg_M9P2Q7U5l4V5W9O45lO7D041D2G5K3[udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]]))then
return false
endif
return true
endfunction
function Trig_Skill_MQ2_Func001Func001Func001Func002Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))])]==udg_M9P2Q7U5l4V5W9O45lO7041D2DG5K3[udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]]))then
return false
endif
return true
endfunction
function Trig_Skill_MQ2_Func001Func001C takes nothing returns boolean
if(not(GetUnitUserData(GetTriggerUnit())==4))then
return false
endif
return true
endfunction
function Trig_Skill_MQ2_Func001C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I020'))then
return false
endif
return true
endfunction
function Trig_Skill_MQ2_Func003C takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04H'))then
return false
endif
if(not(GetUnitPointValue(GetTriggerUnit())==2))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
return true
endfunction
function Trig_Skill_MQ2_Actions takes nothing returns nothing
if(Trig_Skill_MQ2_Func001C())then
if(Trig_Skill_MQ2_Func001Func001C())then
set udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))]=1
loop
exitwhen udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))]>5
set udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]=1
loop
exitwhen udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]>5
if(Trig_Skill_MQ2_Func001Func001Func001Func001Func001C())then
call DecUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))])],GetTriggerUnit())
else
endif
set udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]=udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]+1
endloop
set udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]=1
loop
exitwhen udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]>11
if(Trig_Skill_MQ2_Func001Func001Func001Func002Func001C())then
call DecUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))])],GetTriggerUnit())
else
endif
set udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]=udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]+1
endloop
set udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))]=udg_M9P2Q7U5l4V5W9O45l4O7041D2G5K3[(30+GetConvertedPlayerId(GetTriggerPlayer()))]+1
endloop
else
endif
else
endif
if(Trig_Skill_MQ2_Func003C())then
call UnitRemoveAbilityBJ('A01R',GetTriggerUnit())
call UnitRemoveAbilityBJ('A01B',GetTriggerUnit())
return
else
endif
endfunction
function InitTrig_Skill_MQ2 takes nothing returns nothing
set gg_trg_Skill_MQ2=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Skill_MQ2,EVENT_PLAYER_UNIT_DROP_ITEM)
call TriggerAddAction(gg_trg_Skill_MQ2,function Trig_Skill_MQ2_Actions)
endfunction
function Trig_Skill_Esc_Actions takes nothing returns nothing
call ForceUIKeyBJ(GetTriggerPlayer(),"M")
endfunction
function InitTrig_Skill_Esc takes nothing returns nothing
set gg_trg_Skill_Esc=CreateTrigger()
call TriggerRegisterPlayerEventEndCinematic(gg_trg_Skill_Esc,Player(0))
call TriggerRegisterPlayerEventEndCinematic(gg_trg_Skill_Esc,Player(1))
call TriggerRegisterPlayerEventEndCinematic(gg_trg_Skill_Esc,Player(2))
call TriggerRegisterPlayerEventEndCinematic(gg_trg_Skill_Esc,Player(3))
call TriggerRegisterPlayerEventEndCinematic(gg_trg_Skill_Esc,Player(4))
call TriggerRegisterPlayerEventEndCinematic(gg_trg_Skill_Esc,Player(5))
call TriggerRegisterPlayerEventEndCinematic(gg_trg_Skill_Esc,Player(6))
call TriggerAddAction(gg_trg_Skill_Esc,function Trig_Skill_Esc_Actions)
endfunction
function Trig_Itemfrist_Func002Func005C takes nothing returns boolean
if(not(GetRandomInt(1,20)>18))then
return false
endif
return true
endfunction
function Trig_Itemfrist_Func002C takes nothing returns boolean
if(not(GetSpellAbilityId()=='A073'))then
return false
endif
return true
endfunction
function Trig_Itemfrist_Func004Func002Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=='A02T'))then
return false
endif
if(not(GetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())],GetTriggerUnit())>=5))then
return false
endif
return true
endfunction
function Trig_Itemfrist_Func004Func002Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=='A01A'))then
return false
endif
if(not(GetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())],GetTriggerUnit())>=5))then
return false
endif
return true
endfunction
function Trig_Itemfrist_Func004Func002Func003C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=='A018'))then
return false
endif
if(not(GetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())],GetTriggerUnit())>=5))then
return false
endif
return true
endfunction
function Trig_Itemfrist_Func004Func004Func001Func001001 takes nothing returns boolean
return(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=='A02T')
endfunction
function Trig_Itemfrist_Func004Func004Func001Func002001 takes nothing returns boolean
return(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=='A01A')
endfunction
function Trig_Itemfrist_Func004Func004Func001Func003001 takes nothing returns boolean
return(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=='A018')
endfunction
function Trig_Itemfrist_Func004Func004Func003Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]==udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+17)]))then
return false
endif
return true
endfunction
function Trig_Itemfrist_Func004Func004C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]>=2))then
return false
endif
return true
endfunction
function Trig_Itemfrist_Func004C takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01D'))then
return false
endif
return true
endfunction
function Trig_Itemfrist_Actions takes nothing returns nothing
if(Trig_Itemfrist_Func002C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00X'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00W'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00Y'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00V'))
if(Trig_Itemfrist_Func002Func005C())then
call UnitAddItemByIdSwapped(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(41,48)],GetTriggerUnit())
else
call UnitAddItemByIdSwapped(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[GetRandomInt(1,14)],GetTriggerUnit())
endif
return
else
endif
if(Trig_Itemfrist_Func004C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=0
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Itemfrist_Func004Func002Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+1)
else
endif
if(Trig_Itemfrist_Func004Func002Func002C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+1)
else
endif
if(Trig_Itemfrist_Func004Func002Func003C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+1)
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_Itemfrist_Func004Func004C())then
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Itemfrist_Func004Func004Func001Func001001())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[17]
else
call DoNothing()
endif
if(Trig_Itemfrist_Func004Func004Func001Func002001())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[17]
else
call DoNothing()
endif
if(Trig_Itemfrist_Func004Func004Func001Func003001())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]=udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[17]
else
call DoNothing()
endif
call UnitRemoveAbilityBJ('A02T',GetTriggerUnit())
call UnitRemoveAbilityBJ('A01A',GetTriggerUnit())
call UnitRemoveAbilityBJ('A018',GetTriggerUnit())
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01G'))
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=5
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Itemfrist_Func004Func004Func003Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041DG2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+GetForLoopIndexA())]='A06C'
call UnitAddAbilityBJ('A06C',GetTriggerUnit())
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,'A06C')
call QuestMessageBJ(GetForceOfPlayer(GetOwningPlayer(GetTriggerUnit())),bj_QUESTMESSAGE_ITEMACQUIRED,"经过一番深入研究，你终于学会了火系高级魔法-召唤火炎精灵。")
return
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
else
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"不满足高级魔法合成条件！")
return
endif
else
endif
endfunction
function InitTrig_Itemfrist takes nothing returns nothing
set gg_trg_Itemfrist=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Itemfrist,EVENT_PLAYER_UNIT_SPELL_CAST)
call TriggerAddAction(gg_trg_Itemfrist,function Trig_Itemfrist_Actions)
endfunction
function Trig_Itemtype_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[1]='I00A'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[2]='I03N'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[3]='I03O'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[4]='I03R'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[5]='I03T'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[6]='I03U'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[7]='I03X'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[8]='I040'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[9]='I02H'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[10]='I02F'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[11]='I02G'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[12]='I00G'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[13]='I00L'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[14]='I00H'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[15]='I04O'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[81]='I05B'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[82]='I05F'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[83]='I053'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[84]='I057'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[37]='I055'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[38]='I051'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[39]='I05D'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[40]='I059'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[41]='I03G'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[42]='I03M'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[43]='I03K'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[44]='I03Q'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[45]='I03S'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[46]='I00F'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[47]='I03W'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[48]='I03Z'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[57]='I054'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[58]='I050'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[59]='I05C'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[60]='I058'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[61]='I00B'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[62]='I00C'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[63]='I03L'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[64]='I03P'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[65]='I00E'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[66]='I03J'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[67]='I03V'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[68]='I03Y'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[101]='I02P'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[102]='I02S'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[103]='I02V'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[104]='I030'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[105]='I031'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[106]='I034'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[107]='I02K'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[108]='I00M'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[109]='I02Q'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[110]='I02T'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[111]='I02W'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[112]='I02Z'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[113]='I032'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[114]='I035'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[115]='I02M'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[116]='I00K'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[117]='I00J'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[121]='I02R'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[122]='I02U'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[123]='I02X'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[124]='I02Y'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[125]='I033'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[126]='I036'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[127]='I02L'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[128]='I00N'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[141]='I00Z'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[142]='I006'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[143]='I010'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[144]='I018'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[145]='I004'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[146]='I007'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[147]='I013'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[148]='I012'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[149]='I011'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[161]='I00D'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[162]='I03F'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[163]='I04F'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[164]='I04G'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[165]='I03H'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[166]='I03I'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[167]='I00P'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[168]='I00O'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[169]='I03A'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[170]='I03B'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[171]='I03C'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[172]='I038'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[173]='I039'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[174]='I037'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[175]='I02N'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[176]='I00I'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[177]='I02I'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[178]='I02J'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[179]='I04Q'
set udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[180]='I04R'
endfunction
function InitTrig_Itemtype takes nothing returns nothing
set gg_trg_Itemtype=CreateTrigger()
call TriggerAddAction(gg_trg_Itemtype,function Trig_Itemtype_Actions)
endfunction
function Trig_ItemSet_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[201]='I005'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[202]='I01D'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[203]='I01C'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[204]='I01E'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[205]='I01H'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[206]='I029'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[207]='I008'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[208]='I02E'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[209]='I01F'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[301]='I01A'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[302]='I015'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[303]='I016'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[304]='I014'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[305]='I009'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[306]='I017'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[307]='I019'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[308]='I04Y'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[351]='I01I'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[352]='I01B'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[353]='I01J'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[354]='I02A'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[355]='I024'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[356]='I028'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[357]='I026'
set udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[358]='I04Z'
set udg_M9P2Q7U5l4V5W9O45lO7041D2PG5K3[1]='n02V'
set udg_M9P2Q7U5l4V5W9O45lO7041D2PG5K3[2]='n02W'
set udg_M9P2Q7U5l4V5W9O45lO7041D2PG5K3[3]='n01V'
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_ItemSet takes nothing returns nothing
set gg_trg_ItemSet=CreateTrigger()
call TriggerAddAction(gg_trg_ItemSet,function Trig_ItemSet_Actions)
endfunction
function Trig_ItemUp_Conditions takes nothing returns boolean
if(not(IsUnitAlly(GetTriggerUnit(),Player(0))==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func004001 takes nothing returns boolean
return(CheckItemStatus(GetManipulatedItem(),bj_ITEM_STATUS_OWNED)==false)
endfunction
function Trig_ItemUp_Func005Func005001 takes nothing returns boolean
return(R2I(GetItemLifeBJ(GetManipulatedItem()))<10)
endfunction
function Trig_ItemUp_Func005Func005002 takes nothing returns boolean
return(R2I(GetItemLifeBJ(GetManipulatedItem()))!=GetUnitUserData(GetTriggerUnit()))
endfunction
function Trig_ItemUp_Func005C takes nothing returns boolean
if(not GetBooleanAnd(Trig_ItemUp_Func005Func005001(),Trig_ItemUp_Func005Func005002()))then
return false
endif
if(not(GetUnitTypeId(GetTriggerUnit())!='n02Q'))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func008C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00Z')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I006')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I010')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func009C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I018')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I004')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I007')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func010C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I013')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I012')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I011')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func011C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I039')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I038')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I037')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func012C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00I')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02N')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func013C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03B')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03A')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03C')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func014C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00D')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03F')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func015C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I04F')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I04G')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func016C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03H')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03I')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func017C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00P')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00O')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func018C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I05A')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I05E')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func019C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I052')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I056')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func021C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02H')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02F')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02G')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func022C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00G')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00L')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00H')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func023C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02I')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02J')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func024C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I04R')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I04P')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func025C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00M')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00N')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00K')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00J')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func026C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02K')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02L')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02M')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func028C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02R')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02Q')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02P')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func029C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02U')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02T')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02S')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func030C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02X')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02W')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02V')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func031C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02Y')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I02Z')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I030')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func032C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I033')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I032')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I031')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func033C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I036')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I035')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I034')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func035C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00B')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03G')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00A')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func036C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00C')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03M')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03N')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func038C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03L')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03K')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03O')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func039C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03P')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03Q')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03R')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func041C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00E')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03S')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03T')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func042C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03J')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00F')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03U')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func044C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03V')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03W')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03X')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func045C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03Y')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03Z')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I040')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func047C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I050')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I051')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I053')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func048C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I054')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I055')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I057')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func050C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I058')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I059')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I05B')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func051C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I05C')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I05D')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I05F')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func053C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I024')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I01Z')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func054C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I05H')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03O')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03W')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00B')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func055C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I05H')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03R')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03Z')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I00C')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func056C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I05H')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I05I')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I05J')==true))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func058C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='n02Q'))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func061Func001Func001001 takes nothing returns boolean
return(GetItemUserData(UnitItemInSlotBJ(GetTriggerUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]))>0)
endfunction
function Trig_ItemUp_Func061Func001Func001002 takes nothing returns boolean
return(GetItemUserData(UnitItemInSlotBJ(GetTriggerUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]))<10)
endfunction
function Trig_ItemUp_Func061Func001Func003C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+3)]>1))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func061Func001C takes nothing returns boolean
if(not GetBooleanAnd(Trig_ItemUp_Func061Func001Func001001(),Trig_ItemUp_Func061Func001Func001002()))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func064Func001Func001001 takes nothing returns boolean
return(GetItemUserData(UnitItemInSlotBJ(GetTriggerUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]))>10)
endfunction
function Trig_ItemUp_Func064Func001Func001002 takes nothing returns boolean
return(GetItemUserData(UnitItemInSlotBJ(GetTriggerUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]))<20)
endfunction
function Trig_ItemUp_Func064Func001Func003C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+3)]>1))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func064Func001C takes nothing returns boolean
if(not GetBooleanAnd(Trig_ItemUp_Func064Func001Func001001(),Trig_ItemUp_Func064Func001Func001002()))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func067Func001Func001001 takes nothing returns boolean
return(GetItemUserData(UnitItemInSlotBJ(GetTriggerUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]))>20)
endfunction
function Trig_ItemUp_Func067Func001Func001002 takes nothing returns boolean
return(GetItemUserData(UnitItemInSlotBJ(GetTriggerUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]))<30)
endfunction
function Trig_ItemUp_Func067Func001Func003C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+3)]>1))then
return false
endif
return true
endfunction
function Trig_ItemUp_Func067Func001C takes nothing returns boolean
if(not GetBooleanAnd(Trig_ItemUp_Func067Func001Func001001(),Trig_ItemUp_Func067Func001Func001002()))then
return false
endif
return true
endfunction
function Trig_ItemUp_Actions takes nothing returns nothing
call TriggerSleepAction(.01)
if(Trig_ItemUp_Func004001())then
return
else
call DoNothing()
endif
if(Trig_ItemUp_Func005C())then
call UnitRemoveItemSwapped(GetManipulatedItem(),GetTriggerUnit())
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"你的英雄类型不适合使用这类武器！")
return
else
endif
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetManipulatedItem()
if(Trig_ItemUp_Func008C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00Z'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I006'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I010'))
call UnitAddItemByIdSwapped(udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[GetRandomInt(201,209)],GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),1)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("集齐魔法剑+赤龙牙+阵法宝石 随机合成为："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func009C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I018'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I004'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I007'))
call UnitAddItemByIdSwapped(udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[GetRandomInt(301,308)],GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),1)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("集齐魔法弓+水晶箭+黑龙筋 随机合成为："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func010C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I013'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I012'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I011'))
call UnitAddItemByIdSwapped(udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[GetRandomInt(351,358)],GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),1)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("集齐魔法杖+精灵树枝+符纹宝石 随机合成为："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func011C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I039'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I038'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I037'))
call UnitAddItemByIdSwapped('I03E',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),1)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("获得了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func012C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00I'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02N'))
call UnitAddItemByIdSwapped('I02O',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),11)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("获得了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func013C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03B'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03A'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03C'))
call UnitAddItemByIdSwapped('I03D',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),11)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("获得了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func014C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00D'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03F'))
call UnitAddItemByIdSwapped('I04I',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),11)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("获得了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func015C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I04F'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I04G'))
call UnitAddItemByIdSwapped('I04J',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),11)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("获得了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func016C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03H'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03I'))
call UnitAddItemByIdSwapped('I04K',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),11)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("获得了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func017C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00P'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00O'))
call UnitAddItemByIdSwapped('I04H',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),11)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("获得了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func018C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I05A'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I05E'))
call UnitAddItemByIdSwapped('I04X',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),11)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("获得了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func019C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I052'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I056'))
call UnitAddItemByIdSwapped('I04W',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),11)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("获得了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func021C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02H'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02F'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02G'))
call UnitAddItemByIdSwapped('I02I',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),21)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_ITEMACQUIRED,"|cff00FFFF你拥有了天使手镯，你现在可以A中立怪了，中立怪机率掉落合成专署武器的组件。")
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("集齐(天)幸运之戒+(天)活力之戒+(天)生命之戒合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func022C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00G'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00L'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00H'))
call UnitAddItemByIdSwapped('I02J',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("集齐[天]魔力护符+[天]魔力球+[天]魔法挂坠 合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func023C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02I'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02J'))
call UnitAddItemByIdSwapped('I04P',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),21)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("集齐 |cffCC33FF天使手镯|r+|cffCC33FF魔源结晶|r 合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func024C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I04R'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I04P'))
call UnitAddItemByIdSwapped('I04S',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),21)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("得到了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func025C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00M'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00N'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00K'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00J'))
call UnitAddItemByIdSwapped('I00I',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func026C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02K'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02L'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02M'))
call UnitAddItemByIdSwapped('I02N',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func028C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02R'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02Q'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02P'))
call UnitAddItemByIdSwapped('I03A',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func029C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02U'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02T'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02S'))
call UnitAddItemByIdSwapped('I03B',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func030C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02X'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02W'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02V'))
call UnitAddItemByIdSwapped('I03C',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func031C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02Y'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I02Z'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I030'))
call UnitAddItemByIdSwapped('I038',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func032C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I033'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I032'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I031'))
call UnitAddItemByIdSwapped('I039',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func033C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I036'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I035'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I034'))
call UnitAddItemByIdSwapped('I037',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func035C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00B'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03G'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00A'))
call UnitAddItemByIdSwapped('I00D',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func036C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00C'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03M'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03N'))
call UnitAddItemByIdSwapped('I03F',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func038C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03L'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03K'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03O'))
call UnitAddItemByIdSwapped('I04F',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func039C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03P'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03Q'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03R'))
call UnitAddItemByIdSwapped('I04G',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func041C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00E'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03S'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03T'))
call UnitAddItemByIdSwapped('I03H',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func042C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03J'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00F'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03U'))
call UnitAddItemByIdSwapped('I03I',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func044C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03V'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03W'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03X'))
call UnitAddItemByIdSwapped('I00P',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func045C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03Y'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03Z'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I040'))
call UnitAddItemByIdSwapped('I00O',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func047C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I050'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I051'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I053'))
call UnitAddItemByIdSwapped('I052',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func048C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I054'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I055'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I057'))
call UnitAddItemByIdSwapped('I056',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func050C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I058'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I059'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I05B'))
call UnitAddItemByIdSwapped('I05A',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func051C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I05C'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I05D'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I05F'))
call UnitAddItemByIdSwapped('I05E',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func053C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I024'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I01Z'))
call UnitAddItemByIdSwapped('I05H',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),1)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func054C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03O'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03W'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00B'))
call UnitAddItemByIdSwapped('I05I',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func055C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03R'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I03Z'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I00C'))
call UnitAddItemByIdSwapped('I05J',GetTriggerUnit())
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("合成了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func056C())then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I05I'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I05J'))
call UnitAddItemByIdSwapped('I05K',GetTriggerUnit())
call SetItemUserData(GetLastCreatedItem(),11)
set udg_M9P2Q7U5l4O5WD9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))]=GetLastCreatedItem()
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetTriggerPlayer())+("获得了装备："+GetItemName(GetLastCreatedItem()))))
else
endif
if(Trig_ItemUp_Func058C())then
return
else
endif
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+3)]=0
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]=1
loop
exitwhen udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]>6
if(Trig_ItemUp_Func061Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+3)]=(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+3)]+1)
if(Trig_ItemUp_Func061Func001Func003C())then
call UnitRemoveItemSwapped(UnitItemInSlotBJ(GetTriggerUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]),GetTriggerUnit())
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"专署武器每样只能拿一件！")
else
endif
else
endif
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]=udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]+1
endloop
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+3)]=0
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]=1
loop
exitwhen udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]>6
if(Trig_ItemUp_Func064Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+3)]=(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+3)]+1)
if(Trig_ItemUp_Func064Func001Func003C())then
call UnitRemoveItemSwapped(UnitItemInSlotBJ(GetTriggerUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]),GetTriggerUnit())
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"神铠每样只能拿一件！")
else
endif
else
endif
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]=udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]+1
endloop
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+3)]=0
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]=1
loop
exitwhen udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]>6
if(Trig_ItemUp_Func067Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+3)]=(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+3)]+1)
if(Trig_ItemUp_Func067Func001Func003C())then
call UnitRemoveItemSwapped(UnitItemInSlotBJ(GetTriggerUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]),GetTriggerUnit())
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"翅膀或天使手镯每样只能拿一件！")
else
endif
else
endif
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]=udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]+1
endloop
endfunction
function InitTrig_ItemUp takes nothing returns nothing
set gg_trg_ItemUp=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_ItemUp,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(gg_trg_ItemUp,Condition(function Trig_ItemUp_Conditions))
call TriggerAddAction(gg_trg_ItemUp,function Trig_ItemUp_Actions)
endfunction
function Trig_ItemKey_Conditions takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())!='n02Q'))then
return false
endif
return true
endfunction
function Trig_ItemKey_Func003Func001C takes nothing returns boolean
if(not(GetItemUserData(UnitItemInSlotBJ(GetTriggerUnit(),GetForLoopIndexA()))==1))then
return false
endif
return true
endfunction
function Trig_ItemKey_Func003Func002C takes nothing returns boolean
if(not(GetItemUserData(UnitItemInSlotBJ(GetTriggerUnit(),GetForLoopIndexA()))==11))then
return false
endif
return true
endfunction
function Trig_ItemKey_Func003Func003Func001C takes nothing returns boolean
if((GetItemTypeId(UnitItemInSlotBJ(GetTriggerUnit(),GetForLoopIndexA()))=='I01C'))then
return true
endif
if((GetItemTypeId(UnitItemInSlotBJ(GetTriggerUnit(),GetForLoopIndexA()))=='I01D'))then
return true
endif
if((GetItemTypeId(UnitItemInSlotBJ(GetTriggerUnit(),GetForLoopIndexA()))=='I008'))then
return true
endif
if((GetItemTypeId(UnitItemInSlotBJ(GetTriggerUnit(),GetForLoopIndexA()))=='I03E'))then
return true
endif
if((GetItemTypeId(UnitItemInSlotBJ(GetTriggerUnit(),GetForLoopIndexA()))=='I01B'))then
return true
endif
if((GetItemTypeId(UnitItemInSlotBJ(GetTriggerUnit(),GetForLoopIndexA()))=='I015'))then
return true
endif
return false
endfunction
function Trig_ItemKey_Func003Func003C takes nothing returns boolean
if(not Trig_ItemKey_Func003Func003Func001C())then
return false
endif
return true
endfunction
function Trig_ItemKey_Actions takes nothing returns nothing
call TriggerSleepAction(1.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_ItemKey_Func003Func001C())then
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),4,(GetConvertedPlayerId(GetTriggerPlayer())+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+GetItemName(UnitItemInSlotBJ(GetTriggerUnit(),GetForLoopIndexA()))))
else
endif
if(Trig_ItemKey_Func003Func002C())then
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),5,(GetConvertedPlayerId(GetTriggerPlayer())+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+GetItemName(UnitItemInSlotBJ(GetTriggerUnit(),GetForLoopIndexA()))))
else
endif
if(Trig_ItemKey_Func003Func003C())then
call MultiboardSetItemValueBJ(GetLastCreatedMultiboard(),4,(GetConvertedPlayerId(GetTriggerPlayer())+1),(udg_M9P2Q7U5l4V53W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]+GetItemName(UnitItemInSlotBJ(GetTriggerUnit(),GetForLoopIndexA()))))
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_ItemKey takes nothing returns nothing
set gg_trg_ItemKey=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_ItemKey,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(gg_trg_ItemKey,Condition(function Trig_ItemKey_Conditions))
call TriggerAddAction(gg_trg_ItemKey,function Trig_ItemKey_Actions)
endfunction
function Trig_SQ_Func001Func005Func001C takes nothing returns boolean
if(not(GetHeroLevel(GetAttacker())>=(GetForLoopIndexA()*5)))then
return false
endif
return true
endfunction
function Trig_SQ_Func001C takes nothing returns boolean
if(not(IsUnitType(GetAttacker(),UNIT_TYPE_HERO)==true))then
return false
endif
if(not(GetRandomInt(1,10)<3))then
return false
endif
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)]==0))then
return false
endif
return true
endfunction
function Trig_SQ_Func003C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I01B')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I04I')==true))then
return false
endif
return true
endfunction
function Trig_SQ_Func005Func013C takes nothing returns boolean
if(not(DistanceBetweenPoints(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])<800.))then
return false
endif
return true
endfunction
function Trig_SQ_Func005C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I015')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I04J')==true))then
return false
endif
return true
endfunction
function Trig_SQ_Func007C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I01D')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I04K')==true))then
return false
endif
return true
endfunction
function Trig_SQ_Func009C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I01C')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I04H')==true))then
return false
endif
return true
endfunction
function Trig_SQ_Func011C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I008')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I02O')==true))then
return false
endif
return true
endfunction
function Trig_SQ_Func013C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I04Y')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I04W')==true))then
return false
endif
return true
endfunction
function Trig_SQ_Func015Func005Func001C takes nothing returns boolean
if(not(IsUnitEnemy(GetEnumUnit(),Player(0))==true))then
return false
endif
if(not(IsUnitAliveBJ(GetEnumUnit())==true))then
return false
endif
if(not(IsUnitType(GetEnumUnit(),UNIT_TYPE_HERO)!=true))then
return false
endif
if(not(UnitHasBuffBJ(GetEnumUnit(),'Bprg')!=true))then
return false
endif
return true
endfunction
function Trig_SQ_Func015Func005A takes nothing returns nothing
if(Trig_SQ_Func015Func005Func001C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),4)
call UnitAddAbilityBJ('A05P',GetLastCreatedUnit())
call UnitApplyTimedLifeBJ(1.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssueTargetOrder(GetLastCreatedUnit(),"parasite",GetEnumUnit())
else
endif
endfunction
function Trig_SQ_Func015C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I04Z')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I04X')==true))then
return false
endif
return true
endfunction
function Trig_SQ_Func016C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I05H')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I05K')==true))then
return false
endif
return true
endfunction
function Trig_SQ_Actions takes nothing returns nothing
if(Trig_SQ_Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=GetUnitLoc(GetAttacker())
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)]=GetUnitLoc(GetAttackedUnitBJ())
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=1
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_SQ_Func001Func005Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=(1+GetForLoopIndexA())
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)]=1
else
return
endif
if(Trig_SQ_Func003C())then
call CreateNUnitsAtLoc(1,'h00F',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(10.,'BTLF',GetLastCreatedUnit())
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),4)
call UnitAddAbilityBJ('A054',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A054',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(10.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssueImmediateOrder(GetLastCreatedUnit(),"tranquility")
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  天降甘霖")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100.,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),3.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(10.)
else
endif
if(Trig_SQ_Func005C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitAddAbilityBJ('A07R',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A07R',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(1.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"carrionswarm",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  龙卷风暴")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),3.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+1)]=GetUnitLoc(GetTriggerUnit())
if(Trig_SQ_Func005Func013C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+13)]=PolarProjectionBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],500.,AngleBetweenPoints(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)]))
else
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+13)]=udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)]
endif
call CreateNUnitsAtLoc(1,'n00L',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitApplyTimedLifeBJ(10.,'BTLF',GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"move",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+13)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+13)])
else
endif
if(Trig_SQ_Func007C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],600.,600.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=GetRandomLocInRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateNUnitsAtLoc(1,'e00E',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(5.,'BTLF',GetLastCreatedUnit())
call SetUnitUserData(GetLastCreatedUnit(),1)
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
call UnitAddAbilityBJ('A009',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A009',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(5.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"clusterrockets",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  炎之炼狱")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],150.,8.,100,100.,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),3.)
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
else
endif
if(Trig_SQ_Func009C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],400.,400.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)]=GetRandomLocInRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateNUnitsAtLoc(1,'h00L',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[(GetForLoopIndexA()+10)]=GetLastCreatedUnit()
call SetUnitTimeScalePercent(GetLastCreatedUnit(),300.)
call UnitAddAbilityBJ('A0B4',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A0B4',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitAddAbilityBJ('A0B7',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A0B7',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(10.,'BTLF',GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"clusterrockets",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call EnableTrigger(gg_trg_ItemSQ_time)
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  裂地之牙")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),3.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
else
endif
if(Trig_SQ_Func011C())then
call UnitAddAbilityBJ('A04F',GetAttacker())
call UnitAddAbilityBJ('A09E',GetAttacker())
call IssueImmediateOrder(GetAttacker(),"locustswarm")
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  天魔噬魂")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100.,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),3.)
call TriggerSleepAction(14.)
call UnitRemoveAbilityBJ('A04F',GetAttacker())
call UnitRemoveAbilityBJ('A09E',GetAttacker())
else
endif
if(Trig_SQ_Func013C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],400.,400.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=GetRandomLocInRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call UnitAddAbilityBJ('A011',GetLastCreatedUnit())
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitAddAbilityBJ('A00V',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A00V',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(3.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"clusterrockets",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  雷蛇乱舞")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
else
endif
if(Trig_SQ_Func015C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],400.,500.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=GetRandomLocInRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),4)
call UnitAddAbilityBJ('A00T',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A00T',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(5.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"clusterrockets",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0]=GetUnitsInRectAll(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0],function Trig_SQ_Func015Func005A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  血腥阿修罗")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
else
endif
if(Trig_SQ_Func016C())then
call AddSpecialEffectLocBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],"Abilities\\Spells\\Items\\AIil\\AIilTarget.mdl")
call DestroyEffect(GetLastCreatedEffectBJ())
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5l4V5W9O45lO7041D2PG5K3[GetRandomInt(1,3)],GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),4)
call UnitApplyTimedLifeBJ(10.,'BTLF',GetLastCreatedUnit())
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  自然的惩罚·梦幻之花")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100.,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),3.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call PolledWait((10.+GetRandomReal(.3,.9)))
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)]=0
call DisableTrigger(gg_trg_ItemSQ_time)
endfunction
function InitTrig_SQ takes nothing returns nothing
set gg_trg_SQ=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_SQ,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddAction(gg_trg_SQ,function Trig_SQ_Actions)
endfunction
function Trig_MQ_Conditions takes nothing returns boolean
if(not(IsUnitType(GetAttacker(),UNIT_TYPE_HERO)==true))then
return false
endif
if(not(IsUnitType(GetAttackedUnitBJ(),UNIT_TYPE_STRUCTURE)!=true))then
return false
endif
return true
endfunction
function Trig_MQ_Func003C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+16)]==0))then
return false
endif
return true
endfunction
function Trig_MQ_Func005Func003C takes nothing returns boolean
if(not(GetUnitStateSwap(UNIT_STATE_MAX_LIFE,GetTriggerUnit())>17000.))then
return false
endif
return true
endfunction
function Trig_MQ_Func005Func006C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='U005'))then
return false
endif
if(not(GetUnitTypeId(GetTriggerUnit())=='U00A'))then
return false
endif
if(not(GetUnitTypeId(GetTriggerUnit())=='N01U'))then
return false
endif
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]>2))then
return false
endif
return true
endfunction
function Trig_MQ_Func005C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I041')==true))then
return false
endif
if(not(GetRandomInt(1,12)<3))then
return false
endif
if(not(IsUnitType(GetTriggerUnit(),UNIT_TYPE_STRUCTURE)!=true))then
return false
endif
if(not(GetUnitTypeId(GetTriggerUnit())!='u004'))then
return false
endif
return true
endfunction
function Trig_MQ_Func007C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I01O')==true))then
return false
endif
if(not(GetRandomInt(1,12)<3))then
return false
endif
return true
endfunction
function Trig_MQ_Func009C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I020')==true))then
return false
endif
if(not(GetRandomInt(1,12)<3))then
return false
endif
return true
endfunction
function Trig_MQ_Func011C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I047')==true))then
return false
endif
if(not(IsUnitType(GetTriggerUnit(),UNIT_TYPE_STRUCTURE)!=true))then
return false
endif
if(not(GetRandomInt(1,12)<3))then
return false
endif
return true
endfunction
function Trig_MQ_Actions takes nothing returns nothing
if(Trig_MQ_Func003C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+13)]=GetUnitLoc(GetAttacker())
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+14)]=GetUnitLoc(GetAttackedUnitBJ())
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+16)]=1
else
return
endif
if(Trig_MQ_Func005C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+13)],bj_UNIT_FACING)
call UnitAddAbilityBJ('A0BO',GetLastCreatedUnit())
if(Trig_MQ_Func005Func003C())then
call SetUnitAbilityLevelSwapped('A0BO',GetLastCreatedUnit(),2)
else
endif
call UnitApplyTimedLifeBJ(1.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
if(Trig_MQ_Func005Func006C())then
call UnitRemoveAbilityBJ('A0BO',GetLastCreatedUnit())
else
endif
call IssueTargetOrderById(GetLastCreatedUnit(),852274,GetAttackedUnitBJ())
call CreateTextTagLocBJ(("魔器："+(""+"  镜花水月")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+13)],150.,8.,100,100.,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),3.)
else
endif
if(Trig_MQ_Func007C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+13)],bj_UNIT_FACING)
call UnitAddAbilityBJ('A000',GetLastCreatedUnit())
call UnitApplyTimedLifeBJ(1.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssueTargetOrder(GetLastCreatedUnit(),"unholyfrenzy",GetAttacker())
call CreateTextTagLocBJ(("魔器："+(""+"  能量增幅")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+13)],150.,8.,100,100.,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),3.)
else
endif
if(Trig_MQ_Func009C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+13)],bj_UNIT_FACING)
call UnitAddAbilityBJ('A00B',GetLastCreatedUnit())
call UnitApplyTimedLifeBJ(2.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssueImmediateOrder(GetLastCreatedUnit(),"animatedead")
else
endif
if(Trig_MQ_Func011C())then
call CreateNUnitsAtLoc(1,'h00R',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+14)],GetRandomReal(0,360.))
call UnitAddAbilityBJ('A0BP',GetLastCreatedUnit())
call UnitApplyTimedLifeBJ(2.,'BTLF',GetLastCreatedUnit())
call IssueTargetOrder(GetLastCreatedUnit(),"shadowstrike",GetAttackedUnitBJ())
call SetUnitVertexColorBJ(GetAttackedUnitBJ(),100,.0,100,0)
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+13)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+14)])
call TriggerSleepAction(10.)
call SetUnitVertexColorBJ(GetAttackedUnitBJ(),100,100.,100,0)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+16)]=0
endfunction
function InitTrig_MQ takes nothing returns nothing
set gg_trg_MQ=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_MQ,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(gg_trg_MQ,Condition(function Trig_MQ_Conditions))
call TriggerAddAction(gg_trg_MQ,function Trig_MQ_Actions)
endfunction
function Trig_ItemSQ_time_Actions takes nothing returns nothing
call SetUnitScalePercent(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[11],GetRandomReal(10.,300.),100,100)
call SetUnitScalePercent(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[12],GetRandomReal(10.,250.),100,100)
call SetUnitScalePercent(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[13],GetRandomReal(10.,250.),100,100)
endfunction
function InitTrig_ItemSQ_time takes nothing returns nothing
set gg_trg_ItemSQ_time=CreateTrigger()
call DisableTrigger(gg_trg_ItemSQ_time)
call TriggerRegisterTimerEventPeriodic(gg_trg_ItemSQ_time,.1)
call TriggerAddAction(gg_trg_ItemSQ_time,function Trig_ItemSQ_time_Actions)
endfunction
function Trig_Arm0_Func001Func005Func001C takes nothing returns boolean
if(not(GetHeroLevel(GetAttackedUnitBJ())>=(GetForLoopIndexA()*5)))then
return false
endif
if(not(udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(10+GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ())))]<2))then
return false
endif
return true
endfunction
function Trig_Arm0_Func001C takes nothing returns boolean
if(not(IsUnitType(GetAttackedUnitBJ(),UNIT_TYPE_HERO)==true))then
return false
endif
if(not(GetRandomInt(41,60)<43))then
return false
endif
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+14)]==0))then
return false
endif
return true
endfunction
function Trig_Arm0_Func003C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttackedUnitBJ(),'I01B')==true))then
return false
endif
return true
endfunction
function Trig_Arm0_Func005C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttackedUnitBJ(),'I04Y')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetAttackedUnitBJ(),'I04W')==true))then
return false
endif
return true
endfunction
function Trig_Arm0_Func007C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttackedUnitBJ(),'I01C')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetAttackedUnitBJ(),'I04H')==true))then
return false
endif
if(not(GetUnitPointValue(GetAttackedUnitBJ())==2))then
return false
endif
return true
endfunction
function Trig_Arm0_Actions takes nothing returns nothing
if(Trig_Arm0_Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)]=GetUnitLoc(GetAttackedUnitBJ())
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+12)]=GetUnitLoc(GetAttacker())
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)]=1
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Arm0_Func001Func005Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)]=(1+GetForLoopIndexA())
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+14)]=1
else
return
endif
if(Trig_Arm0_Func003C())then
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)],300.,300.)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+12)]=GetRandomLocInRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)])
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)])
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttackedUnitBJ()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),4)
call UnitAddAbilityBJ('A0B5',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A0B5',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)])
call UnitApplyTimedLifeBJ(6.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"clusterrockets",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)])
call DestroyEffect(GetLastCreatedEffectBJ())
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+12)])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
else
endif
if(Trig_Arm0_Func005C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttackedUnitBJ()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitAddAbilityBJ('A019',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A019',GetLastCreatedUnit(),(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1))
call UnitApplyTimedLifeBJ(1.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssueTargetOrder(GetLastCreatedUnit(),"forkedlightning",GetAttacker())
else
endif
if(Trig_Arm0_Func007C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttackedUnitBJ()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
call UnitAddAbilityBJ('AHtc',GetLastCreatedUnit())
call UnitApplyTimedLifeBJ(1.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssueImmediateOrder(GetLastCreatedUnit(),"thunderclap")
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+12)])
call TriggerSleepAction(1.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+14)]=0
endfunction
function InitTrig_Arm0 takes nothing returns nothing
set gg_trg_Arm0=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Arm0,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddAction(gg_trg_Arm0,function Trig_Arm0_Actions)
endfunction
function Trig_Arm1_Conditions takes nothing returns boolean
if(not(GetUnitUserData(GetAttacker())==1))then
return false
endif
return true
endfunction
function Trig_Arm1_Func003Func005Func001C takes nothing returns boolean
if(not(GetHeroLevel(GetAttacker())>=(GetForLoopIndexA()*5)))then
return false
endif
if(not(udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(10+GetConvertedPlayerId(GetOwningPlayer(GetAttacker())))]<2))then
return false
endif
return true
endfunction
function Trig_Arm1_Func003C takes nothing returns boolean
if(not(IsUnitType(GetAttacker(),UNIT_TYPE_HERO)==true))then
return false
endif
if(not(GetRandomInt(21,32)<23))then
return false
endif
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]==0))then
return false
endif
return true
endfunction
function Trig_Arm1_Func005C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I01D')==true))then
return false
endif
return true
endfunction
function Trig_Arm1_Func007C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I01C')==true))then
return false
endif
return true
endfunction
function Trig_Arm1_Func009C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I008')==true))then
return false
endif
return true
endfunction
function Trig_Arm1_Func011C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I005')==true))then
return false
endif
return true
endfunction
function Trig_Arm1_Func012C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I01E')==true))then
return false
endif
return true
endfunction
function Trig_Arm1_Func013C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I01H')==true))then
return false
endif
return true
endfunction
function Trig_Arm1_Func014C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I029')==true))then
return false
endif
return true
endfunction
function Trig_Arm1_Func015C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I02E')==true))then
return false
endif
return true
endfunction
function Trig_Arm1_Func016C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I01F')==true))then
return false
endif
return true
endfunction
function Trig_Arm1_Actions takes nothing returns nothing
if(Trig_Arm1_Func003C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=GetUnitLoc(GetAttacker())
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)]=GetUnitLoc(GetAttackedUnitBJ())
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=1
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Arm1_Func003Func005Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=(1+GetForLoopIndexA())
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=1
else
return
endif
if(Trig_Arm1_Func005C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],600.,600.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=GetRandomLocInRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
call UnitAddAbilityBJ('A0D1',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A0D1',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(3.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"clusterrockets",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  红莲业火")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm1_Func007C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],400.,400.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)]=GetRandomLocInRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
call UnitAddAbilityBJ('A0B3',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A0B3',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(3.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"clusterrockets",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  诺姆之怒")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm1_Func009C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
call UnitAddAbilityBJ('A08J',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A08J',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(6.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"stampede",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  鬼哭神嚎")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),3.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm1_Func011C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
call UnitAddAbilityBJ('A02T',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A02T',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(1.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"flamestrike",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm1_Func012C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
call UnitAddAbilityBJ('A07T',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A07T',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(6.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"stampede",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm1_Func013C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
call UnitAddAbilityBJ('A04D',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A04D',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(6.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"impale",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm1_Func014C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
call UnitAddAbilityBJ('A081',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A081',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(6.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"impale",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm1_Func015C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
call UnitAddAbilityBJ('A08I',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A08I',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(6.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"stampede",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm1_Func016C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
call UnitAddAbilityBJ('A08K',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A08K',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(6.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssueTargetOrder(GetLastCreatedUnit(),"chainlightning",GetAttackedUnitBJ())
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
endfunction
function InitTrig_Arm1 takes nothing returns nothing
set gg_trg_Arm1=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Arm1,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(gg_trg_Arm1,Condition(function Trig_Arm1_Conditions))
call TriggerAddAction(gg_trg_Arm1,function Trig_Arm1_Actions)
endfunction
function Trig_Arm3_Conditions takes nothing returns boolean
if(not(GetUnitUserData(GetAttacker())==3))then
return false
endif
return true
endfunction
function Trig_Arm3_Func003Func005Func001C takes nothing returns boolean
if(not(GetHeroLevel(GetAttacker())>=(GetForLoopIndexA()*5)))then
return false
endif
if(not(udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(10+GetConvertedPlayerId(GetOwningPlayer(GetAttacker())))]<2))then
return false
endif
return true
endfunction
function Trig_Arm3_Func003C takes nothing returns boolean
if(not(IsUnitType(GetAttacker(),UNIT_TYPE_HERO)==true))then
return false
endif
if(not(GetRandomInt(21,32)<23))then
return false
endif
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]==0))then
return false
endif
return true
endfunction
function Trig_Arm3_Func005Func001C takes nothing returns boolean
if(not(GetRandomInt(1,10)<7))then
return false
endif
return true
endfunction
function Trig_Arm3_Func005C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I015')==true))then
return false
endif
return true
endfunction
function Trig_Arm3_Func007C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I04Y')==true))then
return false
endif
return true
endfunction
function Trig_Arm3_Func009C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I016')==true))then
return false
endif
return true
endfunction
function Trig_Arm3_Func010C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I009')==true))then
return false
endif
return true
endfunction
function Trig_Arm3_Func011C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I017')==true))then
return false
endif
return true
endfunction
function Trig_Arm3_Func012C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I01A')==true))then
return false
endif
return true
endfunction
function Trig_Arm3_Func013C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I014')==true))then
return false
endif
return true
endfunction
function Trig_Arm3_Func014C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I019')==true))then
return false
endif
return true
endfunction
function Trig_Arm3_Actions takes nothing returns nothing
if(Trig_Arm3_Func003C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=GetUnitLoc(GetAttacker())
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)]=GetUnitLoc(GetAttackedUnitBJ())
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=1
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Arm3_Func003Func005Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=(1+GetForLoopIndexA())
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=1
else
return
endif
if(Trig_Arm3_Func005C())then
if(Trig_Arm3_Func005Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],400.,400.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=GetRandomLocInRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateNUnitsAtLoc(1,'h00N',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitAddAbilityBJ('A0B9',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A0B9',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(5.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"clusterrockets",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  罡风闪暴")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
else
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call UnitAddAbilityBJ('A0B8',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A0B8',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(4.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"stampede",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  风暴强袭")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
endif
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm3_Func007C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],400.,400.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=GetRandomLocInRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call UnitAddAbilityBJ('A011',GetLastCreatedUnit())
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitAddAbilityBJ('A00S',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A00S',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(2.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"clusterrockets",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  雷之领域")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm3_Func009C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitAddAbilityBJ('A0CW',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A0CW',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(6.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"stampede",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm3_Func010C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitAddAbilityBJ('A04I',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A04I',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(1.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssueTargetOrder(GetLastCreatedUnit(),"frostnova",GetAttackedUnitBJ())
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm3_Func011C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitAddAbilityBJ('A06D',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A06D',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(6.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"stampede",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm3_Func012C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitAddAbilityBJ('A088',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A088',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(6.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"stampede",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm3_Func013C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitAddAbilityBJ('A01F',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A01F',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(6.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"rainoffire",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm3_Func014C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitAddAbilityBJ('A07Q',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A07Q',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(6.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"stampede",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
endfunction
function InitTrig_Arm3 takes nothing returns nothing
set gg_trg_Arm3=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Arm3,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(gg_trg_Arm3,Condition(function Trig_Arm3_Conditions))
call TriggerAddAction(gg_trg_Arm3,function Trig_Arm3_Actions)
endfunction
function Trig_Arm4_Conditions takes nothing returns boolean
if(not(GetUnitUserData(GetAttacker())==4))then
return false
endif
return true
endfunction
function Trig_Arm4_Func003Func005Func001C takes nothing returns boolean
if(not(GetHeroLevel(GetAttacker())>=(GetForLoopIndexA()*5)))then
return false
endif
if(not(udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(10+GetConvertedPlayerId(GetOwningPlayer(GetAttacker())))]<2))then
return false
endif
return true
endfunction
function Trig_Arm4_Func003C takes nothing returns boolean
if(not(IsUnitType(GetAttacker(),UNIT_TYPE_HERO)==true))then
return false
endif
if(not(GetRandomInt(21,32)<24))then
return false
endif
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]==0))then
return false
endif
return true
endfunction
function Trig_Arm4_Func005Func004C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I04I')==true))then
return false
endif
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]>=3))then
return false
endif
return true
endfunction
function Trig_Arm4_Func005C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I01B')==true))then
return false
endif
return true
endfunction
function Trig_Arm4_Func007Func003Func006C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I04X')==true))then
return false
endif
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]>=3))then
return false
endif
return true
endfunction
function Trig_Arm4_Func007C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I04Z')==true))then
return false
endif
return true
endfunction
function Trig_Arm4_Func009C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I05H')==true))then
return false
endif
return true
endfunction
function Trig_Arm4_Func011C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I01I')==true))then
return false
endif
return true
endfunction
function Trig_Arm4_Func012C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I01J')==true))then
return false
endif
return true
endfunction
function Trig_Arm4_Func013C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I02A')==true))then
return false
endif
return true
endfunction
function Trig_Arm4_Func014C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I026')==true))then
return false
endif
return true
endfunction
function Trig_Arm4_Func015Func004Func001C takes nothing returns boolean
if(not(IsUnitEnemy(GetEnumUnit(),Player(0))==true))then
return false
endif
if(not(IsUnitAliveBJ(GetEnumUnit())==true))then
return false
endif
return true
endfunction
function Trig_Arm4_Func015Func004A takes nothing returns nothing
if(Trig_Arm4_Func015Func004Func001C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitAddAbilityBJ('A05A',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A05A',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(1.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssueTargetOrder(GetLastCreatedUnit(),"entanglingroots",GetEnumUnit())
else
endif
endfunction
function Trig_Arm4_Func015C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I024')==true))then
return false
endif
return true
endfunction
function Trig_Arm4_Func016Func004Func001C takes nothing returns boolean
if(not(IsUnitEnemy(GetEnumUnit(),Player(0))==true))then
return false
endif
if(not(IsUnitAliveBJ(GetEnumUnit())==true))then
return false
endif
return true
endfunction
function Trig_Arm4_Func016Func004A takes nothing returns nothing
if(Trig_Arm4_Func016Func004Func001C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitAddAbilityBJ('A03I',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A03I',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(1.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssueTargetOrder(GetLastCreatedUnit(),"hex",GetEnumUnit())
else
endif
endfunction
function Trig_Arm4_Func016C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I028')==true))then
return false
endif
return true
endfunction
function Trig_Arm4_Actions takes nothing returns nothing
if(Trig_Arm4_Func003C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=GetUnitLoc(GetAttacker())
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)]=GetUnitLoc(GetAttackedUnitBJ())
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=1
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Arm4_Func003Func005Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=(1+GetForLoopIndexA())
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=1
else
return
endif
if(Trig_Arm4_Func005C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),4)
call UnitAddAbilityBJ('A0D0',GetLastCreatedUnit())
if(Trig_Arm4_Func005Func004C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]+1)
else
endif
call SetUnitAbilityLevelSwapped('A0D0',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(10.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"rainoffire",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateNUnitsAtLoc(1,'h011',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(8.,'BTLF',GetLastCreatedUnit())
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  电闪雷鸣")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm4_Func007C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],200.,200.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=GetRandomLocInRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
call UnitAddAbilityBJ('A00W',GetLastCreatedUnit())
if(Trig_Arm4_Func007Func003Func006C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]+1)
else
endif
call SetUnitAbilityLevelSwapped('A00W',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(3.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"clusterrockets",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  地狱死魂炮")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm4_Func009C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],200.,200.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=GetRandomLocInRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
call UnitAddAbilityBJ('A01L',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A01L',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(3.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"clusterrockets",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  落叶飞花")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm4_Func011C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),4)
call UnitAddAbilityBJ('A08T',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A08T',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(2.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"clusterrockets",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm4_Func012C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),4)
call UnitAddAbilityBJ('A02R',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A02R',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(6.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"blizzard",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm4_Func013C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),4)
call UnitAddAbilityBJ('A05O',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A05O',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(6.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"monsoon",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm4_Func014C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),4)
call UnitAddAbilityBJ('A08W',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A08W',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(3.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssuePointOrderLoc(GetLastCreatedUnit(),"clusterrockets",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm4_Func015C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],400.,400.)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0]=GetUnitsInRectAll(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0],function Trig_Arm4_Func015Func004A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
if(Trig_Arm4_Func016C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=RectFromCenterSizeBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)],400.,400.)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0]=GetUnitsInRectAll(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0],function Trig_Arm4_Func016Func004A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call RemoveRect(udg_M9P2Q7U5l4V5W9O45lO7041D2G5K37[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  武器技能")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
return
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+17)]=0
endfunction
function InitTrig_Arm4 takes nothing returns nothing
set gg_trg_Arm4=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Arm4,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(gg_trg_Arm4,Condition(function Trig_Arm4_Conditions))
call TriggerAddAction(gg_trg_Arm4,function Trig_Arm4_Actions)
endfunction
function Trig_Arm5_Conditions takes nothing returns boolean
if(not(IsUnitType(GetAttacker(),UNIT_TYPE_HERO)==true))then
return false
endif
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2GJ5K3[(40+GetConvertedPlayerId(GetOwningPlayer(GetAttacker())))]==0))then
return false
endif
if(not(GetRandomInt(21,30)<24))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I03E')==true))then
return false
endif
return true
endfunction
function Trig_Arm5_Func005Func001C takes nothing returns boolean
if(not(GetHeroLevel(GetAttacker())>=(GetForLoopIndexA()*5)))then
return false
endif
if(not(udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(10+GetConvertedPlayerId(GetOwningPlayer(GetAttacker())))]<2))then
return false
endif
return true
endfunction
function Trig_Arm5_Func011C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetAttacker(),'I03E')==true))then
return false
endif
return true
endfunction
function Trig_Arm5_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=GetUnitLoc(GetAttacker())
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)]=GetUnitLoc(GetAttackedUnitBJ())
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=1
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Arm5_Func005Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)]=(1+GetForLoopIndexA())
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_Arm5_Func011C())then
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(GetAttacker()),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
call UnitAddAbilityBJ('A0BJ',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A0BJ',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call UnitApplyTimedLifeBJ(3.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssueImmediateOrder(GetLastCreatedUnit(),"channel")
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])+"  狂战八方")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),3.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
return
else
endif
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))*18)+12)])
endfunction
function InitTrig_Arm5 takes nothing returns nothing
set gg_trg_Arm5=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Arm5,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(gg_trg_Arm5,Condition(function Trig_Arm5_Conditions))
call TriggerAddAction(gg_trg_Arm5,function Trig_Arm5_Actions)
endfunction
function Trig_Ares_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A0BD'))then
return false
endif
return true
endfunction
function Trig_Ares_Func005Func003C takes nothing returns boolean
if(not(udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*10)+1)]>1000.))then
return false
endif
return true
endfunction
function Trig_Ares_Func005C takes nothing returns boolean
if(not(DistanceBetweenPoints(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)],udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+1)])>=300.))then
return false
endif
return true
endfunction
function Trig_Ares_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=GetTriggerUnit()
set udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+1)]=GetSpellTargetLoc()
set udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)]=GetUnitLoc(GetTriggerUnit())
if(Trig_Ares_Func005C())then
set udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*10)+1)]=DistanceBetweenPoints(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+2)],udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+1)])
if(Trig_Ares_Func005Func003C())then
set udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*10)+1)]=1000.
else
endif
else
set udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*10)+1)]=300.
endif
set udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*10)+2)]=SquareRoot(((udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*10)+1)]*1000.)/SinBJ(90.)))
set udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*10)+3)]=.0
set udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*10)+4)]=.0
call UnitAddAbility(GetTriggerUnit(),'Amrf')
call UnitRemoveAbility(GetTriggerUnit(),'Amrf')
call PauseUnitBJ(true,GetTriggerUnit())
call SetUnitInvulnerable(GetTriggerUnit(),true)
call EnableTrigger(gg_trg_Ares2)
endfunction
function InitTrig_Ares takes nothing returns nothing
set gg_trg_Ares=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Ares,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(gg_trg_Ares,Condition(function Trig_Ares_Conditions))
call TriggerAddAction(gg_trg_Ares,function Trig_Ares_Actions)
endfunction
function Trig_Ares2_Func002Func001Func008C takes nothing returns boolean
if((IsUnitDeadBJ(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()])==true))then
return true
endif
if((IsUnitAliveBJ(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()])!=true))then
return true
endif
return false
endfunction
function Trig_Ares2_Func002Func001C takes nothing returns boolean
if(not Trig_Ares2_Func002Func001Func008C())then
return false
endif
return true
endfunction
function Trig_Ares2_Func002Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()]!=null))then
return false
endif
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()])==true))then
return false
endif
if(not(udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+4)]>=.0))then
return false
endif
return true
endfunction
function Trig_Ares2_Actions takes nothing returns nothing
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=10
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Ares2_Func002Func001C())then
call PauseUnitBJ(false,udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()])
call IssueImmediateOrder(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()],"stop")
set udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()]=null
call UnitSuspendDecay(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()],false)
set udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()]=null
call RemoveLocation(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetForLoopIndexA()*18)+1)])
call RemoveLocation(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetForLoopIndexA()*18)+2)])
else
endif
if(Trig_Ares2_Func002Func002C())then
set udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+3)]=(udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+3)]+.02)
set udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+5)]=(udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+2)]*(SinBJ(45.)*udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+3)]))
set udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+6)]=(.5*(1000.*(udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+3)]*udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+3)])))
set udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+4)]=(udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+5)]-udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+6)])
set udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+7)]=(udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+2)]*(CosBJ(45.)*udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+3)]))
call SetUnitAnimation(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()],"walk")
call SetUnitFlyHeight(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()],udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+4)],.0)
call SetUnitX(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()],(GetLocationX(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetForLoopIndexA()*18)+2)])+(CosBJ(GetUnitFacing(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()]))*udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+7)])))
call SetUnitY(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()],(GetLocationY(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetForLoopIndexA()*18)+2)])+(SinBJ(GetUnitFacing(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()]))*udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+7)])))
else
set udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+3)]=.0
set udg_M9P2Q7U5S4V5W9DO45lO7041D2G5K3[((GetForLoopIndexA()*10)+4)]=.0
call CreateNUnitsAtLoc(1,'h000',GetOwningPlayer(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()]),GetUnitLoc(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()]),bj_UNIT_FACING)
call UnitAddAbilityBJ('A0BE',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call UnitApplyTimedLifeBJ(5.,'BTLF',GetLastCreatedUnit())
call IssueImmediateOrder(GetLastCreatedUnit(),"channel")
call PauseUnitBJ(false,udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()])
call SetUnitInvulnerable(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()],false)
call IssueImmediateOrder(udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()],"stop")
set udg_M9P2Q7U5l4V5W9O45l7O7041D2G5K3[GetForLoopIndexA()]=null
call RemoveLocation(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetForLoopIndexA()*18)+1)])
call RemoveLocation(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetForLoopIndexA()*18)+2)])
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Ares2 takes nothing returns nothing
set gg_trg_Ares2=CreateTrigger()
call DisableTrigger(gg_trg_Ares2)
call TriggerRegisterTimerEventPeriodic(gg_trg_Ares2,.01)
call TriggerAddAction(gg_trg_Ares2,function Trig_Ares2_Actions)
endfunction
function Trig_Ares3_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A0BE'))then
return false
endif
return true
endfunction
function Trig_Ares3_Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2GJ5K3[(20+GetConvertedPlayerId(GetTriggerPlayer()))]==0))then
return false
endif
return true
endfunction
function Trig_Ares3_Func009Func001C takes nothing returns boolean
if(not(IsUnitEnemy(GetEnumUnit(),GetOwningPlayer(GetTriggerUnit()))==true))then
return false
endif
if(not(IsUnitPausedBJ(GetEnumUnit())!=true))then
return false
endif
if(not(UnitHasBuffBJ(GetEnumUnit(),'Bvul')!=true))then
return false
endif
if(not(IsUnitType(GetEnumUnit(),UNIT_TYPE_STRUCTURE)!=true))then
return false
endif
return true
endfunction
function Trig_Ares3_Func009A takes nothing returns nothing
if(Trig_Ares3_Func009Func001C())then
call UnitDamageTargetBJ(GetTriggerUnit(),GetEnumUnit(),I2R((2000*udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)])),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_FIRE)
set udg_M9P2Q7U5l4V51W9O45lO7041D2G5K3=(udg_M9P2Q7U5l4V51W9O45lO7041D2G5K3+1)
set udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+udg_M9P2Q7U5l4V51W9O45lO7041D2G5K3)]=GetEnumUnit()
call PauseUnitBJ(true,udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+udg_M9P2Q7U5l4V51W9O45lO7041D2G5K3)])
call UnitAddAbility(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+udg_M9P2Q7U5l4V51W9O45lO7041D2G5K3)],'Amrf')
call UnitAddAbilityBJ('A0BF',udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+udg_M9P2Q7U5l4V51W9O45lO7041D2G5K3)])
else
endif
endfunction
function Trig_Ares3_Func012Func001Func006C takes nothing returns boolean
if(not(GetForLoopIndexB()<4))then
return false
endif
return true
endfunction
function Trig_Ares3_Func017Func001C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())])==true))then
return false
endif
return true
endfunction
function Trig_Ares3_Actions takes nothing returns nothing
if(Trig_Ares3_Func002C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2GJ5K3[(20+GetConvertedPlayerId(GetTriggerPlayer()))]=1
else
return
endif
set udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)]=GetUnitLoc(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'h00O',GetOwningPlayer(GetTriggerUnit()),udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)],bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(1.,'BTLF',GetLastCreatedUnit())
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0]=GetUnitsInRangeOfLocAll(250.,udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)])
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0],function Trig_Ares3_Func009A)
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
set udg_M9P2Q7U5l4V51W9O45lO7041D2G5K3=0
set bj_forLoopBIndex=1
set bj_forLoopBIndexEnd=7
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=100
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+12)]=GetUnitLoc(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())])
set udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+13)]=PolarProjectionBJ(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)],(DistanceBetweenPoints(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)],udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+12)])+70.),AngleBetweenPoints(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)],udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+12)]))
call SetUnitPositionLoc(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+13)])
call RemoveLocation(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+12)])
call RemoveLocation(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+13)])
if(Trig_Ares3_Func012Func001Func006C())then
call SetUnitFlyHeight(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],(I2R(GetForLoopIndexB())*60.),.0)
call SetUnitTimeScalePercent(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],400.)
call SetUnitAnimation(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],"Death")
else
call SetUnitFlyHeight(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],(360.-(I2R(GetForLoopIndexB())*60.)),.0)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call TriggerSleepAction(.01)
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
call RemoveLocation(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+12)])
call RemoveLocation(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+13)])
call TriggerSleepAction(2.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=100
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Ares3_Func017Func001C())then
call SetUnitFlyHeight(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],GetUnitDefaultFlyHeight(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())]),.0)
call SetUnitAnimation(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],"stand")
call SetUnitTimeScalePercent(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],100.)
call UnitRemoveAbilityBJ('A0BF',udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())])
call UnitRemoveAbilityBJ('Amrf',udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())])
call PauseUnitBJ(false,udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())])
call IssueImmediateOrder(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],"stop")
call UnitRemoveBuffBJ('Bvul',udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())])
else
call SetUnitFlyHeight(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],.0,.0)
call UnitSuspendDecay(udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],false)
endif
set udg_M9P2Q7U5l4V5W9O45lO7041DF2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())]=null
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_M9P2Q7U5l4V5W9O45lO7041D2GJ5K3[(20+GetConvertedPlayerId(GetTriggerPlayer()))]=0
endfunction
function InitTrig_Ares3 takes nothing returns nothing
set gg_trg_Ares3=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Ares3,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(gg_trg_Ares3,Condition(function Trig_Ares3_Conditions))
call TriggerAddAction(gg_trg_Ares3,function Trig_Ares3_Actions)
endfunction
function Trig_Ares5_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A0BJ'))then
return false
endif
return true
endfunction
function Trig_Ares5_Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2GJ5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]==0))then
return false
endif
return true
endfunction
function Trig_Ares5_Func009Func001C takes nothing returns boolean
if(not(IsUnitEnemy(GetEnumUnit(),GetOwningPlayer(GetTriggerUnit()))==true))then
return false
endif
if(not(IsUnitPausedBJ(GetEnumUnit())!=true))then
return false
endif
if(not(UnitHasBuffBJ(GetEnumUnit(),'Bvul')!=true))then
return false
endif
if(not(IsUnitType(GetEnumUnit(),UNIT_TYPE_STRUCTURE)!=true))then
return false
endif
return true
endfunction
function Trig_Ares5_Func009A takes nothing returns nothing
if(Trig_Ares5_Func009Func001C())then
call UnitDamageTargetBJ(GetTriggerUnit(),GetEnumUnit(),I2R((2000*udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)])),ATTACK_TYPE_NORMAL,DAMAGE_TYPE_FIRE)
set udg_M9P2Q7U5l4V5W9O45lO37041D2G5K3=(udg_M9P2Q7U5l4V5W9O45lO37041D2G5K3+1)
set udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+udg_M9P2Q7U5l4V5W9O45lO37041D2G5K3)]=GetEnumUnit()
call PauseUnitBJ(true,udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+udg_M9P2Q7U5l4V5W9O45lO37041D2G5K3)])
call UnitAddAbility(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+udg_M9P2Q7U5l4V5W9O45lO37041D2G5K3)],'Amrf')
call UnitAddAbilityBJ('A0BF',udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+udg_M9P2Q7U5l4V5W9O45lO37041D2G5K3)])
else
endif
endfunction
function Trig_Ares5_Func012Func001Func006C takes nothing returns boolean
if(not(GetForLoopIndexB()<4))then
return false
endif
return true
endfunction
function Trig_Ares5_Func017Func001C takes nothing returns boolean
if(not(IsUnitAliveBJ(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())])==true))then
return false
endif
return true
endfunction
function Trig_Ares5_Actions takes nothing returns nothing
if(Trig_Ares5_Func002C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2GJ5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]=1
else
return
endif
set udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+14)]=GetUnitLoc(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'h00P',GetOwningPlayer(GetTriggerUnit()),udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+14)],bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(1.,'BTLF',GetLastCreatedUnit())
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRangeOfLocAll(250.,udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+14)])
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1],function Trig_Ares5_Func009A)
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
set udg_M9P2Q7U5l4V5W9O45lO37041D2G5K3=0
set bj_forLoopBIndex=1
set bj_forLoopBIndexEnd=7
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=100
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+15)]=GetUnitLoc(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())])
set udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+16)]=PolarProjectionBJ(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+14)],(DistanceBetweenPoints(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+14)],udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+15)])+70.),AngleBetweenPoints(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+14)],udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+15)]))
call SetUnitPositionLoc(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+16)])
call RemoveLocation(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+15)])
call RemoveLocation(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+16)])
if(Trig_Ares5_Func012Func001Func006C())then
call SetUnitFlyHeight(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],(I2R(GetForLoopIndexB())*60.),.0)
call SetUnitTimeScalePercent(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],400.)
call SetUnitAnimation(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],"Death")
else
call SetUnitFlyHeight(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],(360.-(I2R(GetForLoopIndexB())*60.)),.0)
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call TriggerSleepAction(.01)
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
call RemoveLocation(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+14)])
call RemoveLocation(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+15)])
call RemoveLocation(udg_M9P2Q7U5l4V5DW9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+16)])
call TriggerSleepAction(2.)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=100
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Ares5_Func017Func001C())then
call SetUnitFlyHeight(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],GetUnitDefaultFlyHeight(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())]),.0)
call SetUnitAnimation(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],"stand")
call SetUnitTimeScalePercent(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],100.)
call UnitRemoveAbilityBJ('A0BF',udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())])
call UnitRemoveAbilityBJ('Amrf',udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())])
call PauseUnitBJ(false,udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())])
call IssueImmediateOrder(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],"stop")
call UnitRemoveBuffBJ('Bvul',udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())])
else
call SetUnitFlyHeight(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],.0,.0)
call UnitSuspendDecay(udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())],false)
endif
set udg_M9P2Q7UF5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*100)+GetForLoopIndexA())]=null
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_M9P2Q7U5l4V5W9O45lO7041D2GJ5K3[(40+GetConvertedPlayerId(GetTriggerPlayer()))]=0
endfunction
function InitTrig_Ares5 takes nothing returns nothing
set gg_trg_Ares5=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Ares5,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(gg_trg_Ares5,Condition(function Trig_Ares5_Conditions))
call TriggerAddAction(gg_trg_Ares5,function Trig_Ares5_Actions)
endfunction
function Trig_SQ3_Conditions takes nothing returns boolean
if(not(GetIssuedOrderIdBJ()==String2OrderIdBJ("smart")))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03E')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I03D')==true))then
return false
endif
if(not(IsUnitEnemy(GetOrderTargetUnit(),Player(0))==true))then
return false
endif
if(not(IsItemVisible(GetOrderTargetItem())!=true))then
return false
endif
return true
endfunction
function Trig_SQ3_Func004C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W9O45lO7041D2GJ5K3[(20+GetConvertedPlayerId(GetTriggerPlayer()))]==0))then
return false
endif
return true
endfunction
function Trig_SQ3_Func009Func001C takes nothing returns boolean
if(not(GetHeroLevel(GetTriggerUnit())>=(GetForLoopIndexA()*5)))then
return false
endif
return true
endfunction
function Trig_SQ3_Actions takes nothing returns nothing
call TriggerSleepAction(.1)
if(Trig_SQ3_Func004C())then
else
return
endif
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)]=GetUnitLoc(GetTriggerUnit())
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+12)]=GetUnitLoc(GetOrderTargetUnit())
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)]=1
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_SQ3_Func009Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)]=(1+GetForLoopIndexA())
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call UnitAddAbilityBJ('A0BD',GetTriggerUnit())
call SetUnitAbilityLevelSwapped('A0BD',GetTriggerUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)])
call IssuePointOrderLoc(GetTriggerUnit(),"breathoffrost",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+12)])
call CreateTextTagLocBJ(("等级"+(I2S(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)])+"  冲锋陷阵")),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)],150.,8.,100,100.,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),3.)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+11)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))*18)+12)])
call TriggerSleepAction(5.)
call UnitRemoveAbilityBJ('A0BD',GetTriggerUnit())
endfunction
function InitTrig_SQ3 takes nothing returns nothing
set gg_trg_SQ3=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_SQ3,EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER)
call TriggerAddCondition(gg_trg_SQ3,Condition(function Trig_SQ3_Conditions))
call TriggerAddAction(gg_trg_SQ3,function Trig_SQ3_Actions)
endfunction
function Trig_G001_Func002C takes nothing returns boolean
if(not(GetSpellAbilityId()=='AImt'))then
return false
endif
return true
endfunction
function Trig_G001_Func004C takes nothing returns boolean
if(not(GetSpellAbilityId()=='A05L'))then
return false
endif
return true
endfunction
function Trig_G001_Func006Func001C takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I05H')==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I05K')==true))then
return false
endif
return true
endfunction
function Trig_G001_Func006Func003002 takes nothing returns nothing
call RemoveUnit(GetEnumUnit())
endfunction
function Trig_G001_Func006C takes nothing returns boolean
if(not(GetSpellAbilityId()=='A01K'))then
return false
endif
return true
endfunction
function Trig_G001_Func008Func001Func004Func001C takes nothing returns boolean
if(not(GetHeroLevel(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])>=(GetForLoopIndexA()*5)))then
return false
endif
if(not(udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(10+GetConvertedPlayerId(GetTriggerPlayer()))]<2))then
return false
endif
return true
endfunction
function Trig_G001_Func008Func001C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='n02V'))then
return false
endif
return true
endfunction
function Trig_G001_Func008Func002C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='n01V'))then
return false
endif
if(not(IsUnitType(GetSpellTargetUnit(),UNIT_TYPE_HERO)!=true))then
return false
endif
if(not(IsUnitType(GetSpellTargetUnit(),UNIT_TYPE_STRUCTURE)!=true))then
return false
endif
if(not(IsUnitIllusionBJ(GetSpellTargetUnit())!=true))then
return false
endif
if(not(GetUnitPointValue(GetSpellTargetUnit())==101))then
return false
endif
return true
endfunction
function Trig_G001_Func008C takes nothing returns boolean
if(not(GetSpellAbilityId()=='Afae'))then
return false
endif
return true
endfunction
function Trig_G001_Actions takes nothing returns nothing
if(Trig_G001_Func002C())then
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(20+GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit())))]=1
else
endif
if(Trig_G001_Func004C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[(GetConvertedPlayerId(GetTriggerPlayer())+20)]=GetSpellTargetUnit()
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=GetUnitAbilityLevelSwapped(GetSpellAbilityId(),GetTriggerUnit())
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+13)]=GetUnitLoc(GetTriggerUnit())
set bj_forLoopBIndex=1
set bj_forLoopBIndexEnd=5
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
call CreateNUnitsAtLoc(1,'h000',GetTriggerPlayer(),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+13)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),3)
call UnitAddAbilityBJ('A05N',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A05N',GetLastCreatedUnit(),udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
call UnitApplyTimedLifeBJ(2.,'BTLF',GetLastCreatedUnit())
call ShowUnitHide(GetLastCreatedUnit())
call IssueTargetOrder(GetLastCreatedUnit(),"coldarrowstarg",udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[(GetConvertedPlayerId(GetTriggerPlayer())+20)])
call TriggerSleepAction(.2)
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+11)])
else
endif
if(Trig_G001_Func006C())then
if(Trig_G001_Func006Func001C())then
else
call QuestMessageBJ(GetForceOfPlayer(GetTriggerPlayer()),bj_QUESTMESSAGE_WARNING,"你必须拥有精灵王套装才能召唤木精灵守护者！")
return
endif
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())]=GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(),'o004')
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())],function Trig_G001_Func006Func003002)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[GetConvertedPlayerId(GetTriggerPlayer())])
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+13)]=GetUnitLoc(GetTriggerUnit())
call CreateNUnitsAtLoc(1,'o004',GetTriggerPlayer(),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+13)],GetUnitFacing(GetTriggerUnit()))
call IssuePointOrderLoc(GetLastCreatedUnit(),"move",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+13)])
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+11)])
else
endif
if(Trig_G001_Func008C())then
if(Trig_G001_Func008Func001C())then
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+11)]=GetUnitLoc(GetTriggerUnit())
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+11)]=1
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_G001_Func008Func001Func004Func001C())then
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+11)]=(1+GetForLoopIndexA())
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
call CreateNUnitsAtLoc(1,'h00D',GetTriggerPlayer(),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+11)],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),4)
call UnitAddAbilityBJ('A01N',GetLastCreatedUnit())
call SetUnitAbilityLevelSwapped('A01N',GetLastCreatedUnit(),udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+11)])
call IssueTargetOrder(GetLastCreatedUnit(),"drain",GetSpellTargetUnit())
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+11)])
else
endif
if(Trig_G001_Func008Func002C())then
call KillUnit(GetSpellTargetUnit())
call RemoveUnit(GetSpellTargetUnit())
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+11)]=GetUnitLoc(GetSpellTargetUnit())
call CreateNUnitsAtLoc(1,GetUnitTypeId(GetSpellTargetUnit()),Player(10),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+11)],bj_UNIT_FACING)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+11)])
call UnitAddAbilityBJ('A01P',GetLastCreatedUnit())
else
endif
else
endif
endfunction
function InitTrig_G001 takes nothing returns nothing
set gg_trg_G001=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_G001,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddAction(gg_trg_G001,function Trig_G001_Actions)
endfunction
function Trig_Die_Func015C takes nothing returns boolean
if((GetUnitTypeId(GetTriggerUnit())=='n02V'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n02W'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='n01V'))then
return true
endif
return false
endfunction
function Trig_Die_Conditions takes nothing returns boolean
if(not Trig_Die_Func015C())then
return false
endif
return true
endfunction
function Trig_Die_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+13)]=GetUnitLoc(GetTriggerUnit())
call AddSpecialEffectLocBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+13)],"Effect-DarkStar.mdx")
call DestroyEffect(GetLastCreatedEffectBJ())
call CreateTextTagLocBJ("自然的惩罚·破碎虚空",udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+13)],150.,8.,100,100,.0,50.)
call SetTextTagPermanent(GetLastCreatedTextTag(),false)
call SetTextTagLifespan(GetLastCreatedTextTag(),2.)
call CreateNUnitsAtLoc(1,'h000',GetTriggerPlayer(),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+13)],bj_UNIT_FACING)
call UnitApplyTimedLifeBJ(5.,'BTLF',GetLastCreatedUnit())
call SetUnitUserData(GetLastCreatedUnit(),4)
call UnitAddAbilityBJ('A01O',GetLastCreatedUnit())
call IssueImmediateOrder(GetLastCreatedUnit(),"thunderclap")
call RemoveUnit(GetTriggerUnit())
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[((GetConvertedPlayerId(GetTriggerPlayer())*18)+13)])
endfunction
function InitTrig_Die takes nothing returns nothing
set gg_trg_Die=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Die,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddCondition(gg_trg_Die,Condition(function Trig_Die_Conditions))
call TriggerAddAction(gg_trg_Die,function Trig_Die_Actions)
endfunction
function Trig_Sec_Login_Actions takes nothing returns nothing
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0]=GetRectCenter(gg_rct_SEC______00A)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[1]=PolarProjectionBJ(udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],350.,90.)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[2]=PolarProjectionBJ(udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],100.,180.)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[3]=PolarProjectionBJ(udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],100.,.0)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[4]=PolarProjectionBJ(udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],250.,225.)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[5]=PolarProjectionBJ(udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],250.,315.)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[6]=PolarProjectionBJ(udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],250.,135.)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[7]=PolarProjectionBJ(udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],250.,45.)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[8]=PolarProjectionBJ(udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],450.,225.)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[9]=PolarProjectionBJ(udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],450.,315.)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[10]=PolarProjectionBJ(udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],450.,250.)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[11]=PolarProjectionBJ(udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],450.,290.)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[20]=Location(3657.,-169.)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[21]=GetRectCenter(gg_rct_SEC______01)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[22]=GetRectCenter(gg_rct_SEC______02)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[23]=GetRectCenter(gg_rct_SEC______03)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[24]=GetRectCenter(gg_rct_SEC______04)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[25]=GetRectCenter(gg_rct_SEC______05)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[26]=GetRectCenter(gg_rct_SEC______06)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[27]=GetRectCenter(gg_rct_______Second01)
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[100]=gg_rct_SEC______00B
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[110]=gg_rct_SEC______00A
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[111]=gg_rct_SEC______01
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[112]=gg_rct_SEC______02
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[113]=gg_rct_SEC______03
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[114]=gg_rct_SEC______04
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[115]=gg_rct_SEC______05
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[116]=gg_rct_SEC______06
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[1]='ngno'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[2]='nrzt'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[3]='ndrf'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[4]='nmrl'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[5]='nogr'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[6]='ngnw'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[7]='ndqn'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[8]='nmrm'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[9]='nkol'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[10]='nogm'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[11]='nfrp'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[12]='nfrl'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[13]='nfrb'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[14]='nfre'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[15]='nfra'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[31]='ngna'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[32]='nvdl'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[33]='ncim'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[34]='ngns'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[35]='nhdc'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[36]='ndtt'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[37]='ncks'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[38]='ndtw'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[39]='ndrs'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[40]='nssp'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[41]='nmsn'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[42]='nsoc'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[43]='nsgt'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[44]='nsbm'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[45]='nrvd'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[61]='nomg'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[62]='ngnv'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[63]='nrvi'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[64]='nrzg'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[65]='ndth'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[66]='nfor'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[67]='nhrh'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[68]='nhrq'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[69]='ndrj'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[70]='ndqs'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[71]='ntks'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[72]='nogl'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[73]='nfgb'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[74]='nfov'
set udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[75]='nbal'
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Sec_Login takes nothing returns nothing
set gg_trg_Sec_Login=CreateTrigger()
call TriggerAddAction(gg_trg_Sec_Login,function Trig_Sec_Login_Actions)
endfunction
function Trig_Sec_Start_Func008A takes nothing returns nothing
call RemoveDestructable(GetEnumDestructable())
endfunction
function Trig_Sec_Start_Func011A takes nothing returns nothing
call SetUnitPositionLoc(GetEnumUnit(),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[20])
endfunction
function Trig_Sec_Start_Actions takes nothing returns nothing
call PlaySoundBJ(gg_snd_Sound06)
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cffffff00怪物越来越多，国王派出了大贤者与大将军前来调查灾情！")
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cffffff00任务二：保护好大贤者与大将军，任一死亡，游戏将会失败！")
call PingMinimapLocForForce(GetPlayersAll(),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],60.)
call TriggerSleepAction(.1)
call PingMinimapLocForForceEx(GetPlayersAll(),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],60.,bj_MINIMAPPINGSTYLE_FLASHY,.0,.0,100.)
call TriggerSleepAction(.1)
call EnumDestructablesInRectAll(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[110],function Trig_Sec_Start_Func008A)
call TriggerSleepAction(.1)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectAll(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[110])
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1],function Trig_Sec_Start_Func011A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call CreateNUnitsAtLoc(1,'h01I',Player(10),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[1],270.)
call SetUnitUserData(GetLastCreatedUnit(),2001)
call TriggerSleepAction(.1)
call CreateNUnitsAtLoc(1,'H01E',Player(7),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[2],270.)
call SetUnitOwner(GetLastCreatedUnit(),Player(10),false)
call SetUnitUserData(GetLastCreatedUnit(),4)
set udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[1]=GetLastCreatedUnit()
call SetUnitUserData(GetLastCreatedUnit(),2002)
call SetUnitAbilityLevelSwapped('A02R',GetLastCreatedUnit(),5)
call SetUnitAbilityLevelSwapped('A06H',GetLastCreatedUnit(),5)
call SetUnitAbilityLevelSwapped('A03G',GetLastCreatedUnit(),5)
call TriggerSleepAction(.1)
call CreateNUnitsAtLoc(1,'H01F',Player(7),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[3],270.)
call SetUnitOwner(GetLastCreatedUnit(),Player(10),false)
call SetUnitUserData(GetLastCreatedUnit(),1)
set udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[2]=GetLastCreatedUnit()
call SetUnitUserData(GetLastCreatedUnit(),2003)
call SetUnitAbilityLevelSwapped('A05J',GetLastCreatedUnit(),5)
call SetUnitAbilityLevelSwapped('A03L',GetLastCreatedUnit(),5)
call SetUnitAbilityLevelSwapped('A0C9',GetLastCreatedUnit(),5)
call SetUnitAbilityLevelSwapped('A02U',GetLastCreatedUnit(),5)
call TriggerSleepAction(.1)
call CreateNUnitsAtLoc(1,'n02S',Player(10),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[4],270.)
call SetUnitUserData(GetLastCreatedUnit(),2004)
call TriggerSleepAction(.1)
call CreateNUnitsAtLoc(1,'n02S',Player(10),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[5],270.)
call SetUnitUserData(GetLastCreatedUnit(),2005)
call TriggerSleepAction(.1)
call CreateNUnitsAtLoc(1,'n02S',Player(10),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[6],270.)
call SetUnitUserData(GetLastCreatedUnit(),2006)
call TriggerSleepAction(.1)
call CreateNUnitsAtLoc(1,'n02S',Player(10),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[7],270.)
call SetUnitUserData(GetLastCreatedUnit(),2007)
call TriggerSleepAction(.1)
call CreateNUnitsAtLoc(1,'h01H',Player(10),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[8],270.)
call SetUnitUserData(GetLastCreatedUnit(),2008)
call TriggerSleepAction(.1)
call CreateNUnitsAtLoc(1,'h01H',Player(10),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[9],270.)
call SetUnitUserData(GetLastCreatedUnit(),2009)
call TriggerSleepAction(.1)
call CreateNUnitsAtLoc(1,'h01H',Player(10),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[10],270.)
call SetUnitUserData(GetLastCreatedUnit(),2010)
call TriggerSleepAction(.1)
call CreateNUnitsAtLoc(1,'h01H',Player(10),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[11],270.)
call SetUnitUserData(GetLastCreatedUnit(),2011)
call StartTimerBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[2],false,60.)
call CreateTimerDialogBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[2],"敌军进攻倒计时")
set udg_M9P2Q7U5l4V5W9O45lO7041D2GO5K3[2]=GetLastCreatedTimerDialogBJ()
set udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3=1
call SetPlayerTechResearchedSwap('R002',1,Player(9))
call SetPlayerTechResearchedSwap('R005',1,Player(9))
call SetPlayerTechResearchedSwap('R004',(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1),Player(9))
call SetPlayerTechResearchedSwap('R007',(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1),Player(9))
call SetPlayerTechResearchedSwap('R008',(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1),Player(9))
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Sec_Start takes nothing returns nothing
set gg_trg_Sec_Start=CreateTrigger()
call DisableTrigger(gg_trg_Sec_Start)
call TriggerAddAction(gg_trg_Sec_Start,function Trig_Sec_Start_Actions)
endfunction
function Trig_Sec_Ami1_Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3==1))then
return false
endif
return true
endfunction
function Trig_Sec_Ami1_Func003Func005C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3==15))then
return false
endif
return true
endfunction
function Trig_Sec_Ami1_Func003Func014A takes nothing returns nothing
call PolledWait(1.)
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[1])
endfunction
function Trig_Sec_Ami1_Func003C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3<16))then
return false
endif
return true
endfunction
function Trig_Sec_Ami1_Func007C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3==11))then
return false
endif
return true
endfunction
function Trig_Sec_Ami1_Func009Func001Func012002 takes nothing returns nothing
call CustomDefeatBJ(GetEnumPlayer(),"失败!")
endfunction
function Trig_Sec_Ami1_Func009Func001Func064Func001C takes nothing returns boolean
if(not(IsUnitType(GetEnumUnit(),UNIT_TYPE_STRUCTURE)!=true))then
return false
endif
if(not(IsUnitAlly(GetEnumUnit(),Player(0))!=true))then
return false
endif
return true
endfunction
function Trig_Sec_Ami1_Func009Func001Func064Func002C takes nothing returns boolean
if(not(IsUnitType(GetEnumUnit(),UNIT_TYPE_STRUCTURE)==true))then
return false
endif
if(not(GetUnitTypeId(GetEnumUnit())!='h004'))then
return false
endif
if(not(IsUnitAlly(GetEnumUnit(),Player(0))==true))then
return false
endif
return true
endfunction
function Trig_Sec_Ami1_Func009Func001Func064A takes nothing returns nothing
if(Trig_Sec_Ami1_Func009Func001Func064Func001C())then
call SetUnitOwner(GetEnumUnit(),Player(10),true)
call UnitApplyTimedLifeBJ(GetRandomReal(1.,50.),'BTLF',GetEnumUnit())
call ShowUnitHide(GetEnumUnit())
else
endif
if(Trig_Sec_Ami1_Func009Func001Func064Func002C())then
call UnitAddAbilityBJ('AIsi',GetEnumUnit())
else
endif
endfunction
function Trig_Sec_Ami1_Func009Func001Func085C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]>0))then
return false
endif
return true
endfunction
function Trig_Sec_Ami1_Func009Func001Func086C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]>1))then
return false
endif
return true
endfunction
function Trig_Sec_Ami1_Func009Func001Func087C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]>2))then
return false
endif
return true
endfunction
function Trig_Sec_Ami1_Func009Func001C takes nothing returns boolean
if(not(GetUnitTypeId(udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[3])=='H01E'))then
return false
endif
return true
endfunction
function Trig_Sec_Ami1_Func009C takes nothing returns boolean
if(not(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3==16))then
return false
endif
return true
endfunction
function Trig_Sec_Ami1_Actions takes nothing returns nothing
if(Trig_Sec_Ami1_Func002C())then
call PlaySoundBJ(gg_snd_Sec01)
else
endif
if(Trig_Sec_Ami1_Func003C())then
call SetPlayerTechResearchedSwap('R003',udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3,Player(9))
call SetPlayerTechResearchedSwap('R006',udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3,Player(9))
call SetPlayerTechResearchedSwap('R009',udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3,Player(9))
call StartTimerBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[2],false,60.)
if(Trig_Sec_Ami1_Func003Func005C())then
call StartTimerBJ(udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[2],false,150.)
else
endif
call TimerDialogSetTitle(udg_M9P2Q7U5l4V5W9O45lO7041D2GO5K3[2],("当次波次"+(I2S(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3)+"/15")))
set bj_forLoopAIndex=21
set bj_forLoopAIndexEnd=23
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[(60+udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3)],Player(9),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
call IssuePointOrderLoc(GetLastCreatedUnit(),"attack",udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[(3+GetForLoopIndexA())])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopBIndex=1
set bj_forLoopBIndexEnd=10
loop
exitwhen bj_forLoopBIndex>bj_forLoopBIndexEnd
call PolledWait(2.)
set bj_forLoopAIndex=21
set bj_forLoopAIndexEnd=23
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[(0+udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3)],Player(9),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
call IssuePointOrderLoc(GetLastCreatedUnit(),"attack",udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[(3+GetForLoopIndexA())])
call CreateNUnitsAtLoc(1,udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[(30+udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3)],Player(9),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
call IssuePointOrderLoc(GetLastCreatedUnit(),"attack",udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[(3+GetForLoopIndexA())])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopBIndex=bj_forLoopBIndex+1
endloop
set bj_forLoopAIndex=21
set bj_forLoopAIndexEnd=23
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(1,udg_M9P2Q7US5l4V5W9O45lO7041D2G5K3[(60+udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3)],Player(9),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
call IssuePointOrderLoc(GetLastCreatedUnit(),"attack",udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[(3+GetForLoopIndexA())])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[5],Player(11))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1],function Trig_Sec_Ami1_Func003Func014A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
else
endif
set udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3=(udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3+1)
if(Trig_Sec_Ami1_Func007C())then
call PlaySoundBJ(gg_snd_Sound06)
call SetPlayerAllianceStateBJ(Player(10),Player(11),bj_ALLIANCE_UNALLIED_VISION)
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cffffff00探子来报，在森林左下边发现一个巨石传送阵，怀疑怪物是通过这个巨石传送阵传送过来的！")
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cffffff00任务三：大贤者决定亲自到巨石传送阵调查，沿途保护好大贤者，同时也要留下人手保护基地的大将军，任一死亡，游戏将会失败。同时，如果不能在15波怪前保护大贤者到达巨石传送阵，游戏也会失败！")
call PingMinimapLocForForce(GetPlayersAll(),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],30.)
call PingMinimapLocForForceEx(GetPlayersAll(),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[0],30.,bj_MINIMAPPINGSTYLE_FLASHY,.0,50.,50.)
call SetUnitUserData(udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[1],0)
call IssuePointOrderLoc(udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[1],"move",udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[27])
else
endif
if(Trig_Sec_Ami1_Func009C())then
if(Trig_Sec_Ami1_Func009Func001C())then
set udg_M9P2Q7U5l4V5W97O45lO7041D2G5K3=17
call PlaySoundBJ(gg_snd_Sound06)
call RemoveUnit(udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[1])
call RemoveUnit(udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[2])
call DestroyTimerDialog(udg_M9P2Q7U5l4V5W9O45lO7041D2GO5K3[2])
call DisplayTimedTextToForce(GetPlayersAll(),120.,"|cffffff00经过大贤者的研究，通过巨石传送阵可以打开通往魔界的通道！")
call DisplayTimedTextToForce(GetPlayersAll(),120.,"|cffffff00任务五：勇士们，前往魔界，摧毁魔族的城堡，让人间重返和平吧！")
call DisplayTimedTextToForce(GetPlayersAll(),120.,"|cffffff00注意保护好前线要塞，要塞被摧毁则游戏失败！")
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201]=Location(-587.,-12987.)
call PingMinimapLocForForce(GetPlayersAll(),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201],120.)
call PingMinimapLocForForceEx(GetPlayersAll(),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201],120.,bj_MINIMAPPINGSTYLE_SIMPLE,.0,100,.0)
call PingMinimapLocForForceEx(GetPlayersAll(),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201],120.,bj_MINIMAPPINGSTYLE_FLASHY,.0,.0,100.)
call PingMinimapLocForForceEx(GetPlayersAll(),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201],120.,bj_MINIMAPPINGSTYLE_ATTACK,.0,.0,100.)
call CreateNUnitsAtLoc(1,'n02G',Player(4),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201],bj_UNIT_FACING)
call DisableTrigger(gg_trg_Sec_Ami1)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_SEC_AmiGoIN)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_Sec_XH)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_Sec_Out)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_Sec_GoBack)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_Sec_Die)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_Sec_AI)
call TriggerSleepAction(.1)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[201])
call EnableTrigger(gg_trg_Thr_Go)
call DisableTrigger(gg_trg_OgreAdd)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_OgreAdd4)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_OgreAdd2)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_Ogre_Show)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_Ogre_Show2)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_Area_GoBack)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_Ogre_Relive)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_BossNew)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_BossBaWu)
call TriggerSleepAction(.1)
call DisableTrigger(gg_trg_AI01)
call TriggerSleepAction(.1)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0]=GetUnitsInRectAll(GetPlayableMapRect())
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0],function Trig_Sec_Ami1_Func009Func001Func064A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call TriggerSleepAction(.1)
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=0
call CreateNUnitsAtLoc(1,'U00M',Player(7),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[4],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),4)
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[1]=GetLastCreatedUnit()
call SetUnitOwner(GetLastCreatedUnit(),Player(11),false)
call CreateNUnitsAtLoc(1,'U002',Player(7),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[6],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),1)
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[2]=GetLastCreatedUnit()
call SetUnitOwner(GetLastCreatedUnit(),Player(11),false)
call CreateNUnitsAtLoc(1,'U00I',Player(7),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[5],bj_UNIT_FACING)
call SetUnitUserData(GetLastCreatedUnit(),4)
set udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[3]=GetLastCreatedUnit()
call SetUnitOwner(GetLastCreatedUnit(),Player(11),false)
call SetUnitAbilityLevelSwapped('A0CI',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[1],(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1))
call SetUnitAbilityLevelSwapped('A02A',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[2],(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1))
call SetUnitAbilityLevelSwapped('A0CJ',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[3],(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1))
if(Trig_Sec_Ami1_Func009Func001Func085C())then
call UnitAddItemByIdSwapped('I01S',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[1])
call UnitAddItemByIdSwapped('I01S',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[2])
call UnitAddItemByIdSwapped('I01S',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[3])
else
endif
if(Trig_Sec_Ami1_Func009Func001Func086C())then
call UnitAddItemByIdSwapped(udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[356],udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[1])
call UnitAddItemByIdSwapped(udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[208],udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[2])
call UnitAddItemByIdSwapped(udg_M9P2Q7U5l4V5W9O45lO70F1DF2G5K3[357],udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[3])
call SetUnitAbilityLevelSwapped('A002',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[1],2)
call SetUnitAbilityLevelSwapped('A002',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[2],2)
call SetUnitAbilityLevelSwapped('A002',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[3],2)
else
endif
if(Trig_Sec_Ami1_Func009Func001Func087C())then
call UnitAddItemByIdSwapped(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[179],udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[1])
call UnitAddItemByIdSwapped(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[179],udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[2])
call UnitAddItemByIdSwapped(udg_M9P2Q7U5l4V5W9O45lO70841D2G5K3[179],udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[3])
call SetUnitAbilityLevelSwapped('A002',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[1],3)
call SetUnitAbilityLevelSwapped('A002',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[2],3)
call SetUnitAbilityLevelSwapped('A002',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[3],3)
else
endif
call EnableTrigger(gg_trg_Thr_AmiMove)
call TriggerSleepAction(.1)
call EnableTrigger(gg_trg_Thr_Ami)
call TriggerSleepAction(.1)
call TriggerExecute(gg_trg_Thr_Ami)
call TriggerSleepAction(.1)
call EnableTrigger(gg_trg_Thr_Ami2)
call TriggerSleepAction(.1)
call EnableTrigger(gg_trg_Thr_Ami3)
call TriggerSleepAction(.1)
call EnableTrigger(gg_trg_Thr_Ami4)
call TriggerSleepAction(.1)
call EnableTrigger(gg_trg_Thr_Ami5)
call TriggerSleepAction(.1)
call EnableTrigger(gg_trg_Thr_Ami6)
call TriggerSleepAction(.1)
call EnableTrigger(gg_trg_Thr_ArmUP)
call TriggerSleepAction(.1)
call EnableTrigger(gg_trg_Thr_AmiUP)
call TriggerSleepAction(.1)
call EnableTrigger(gg_trg_Thr_AmiAi1)
call TriggerSleepAction(.1)
call EnableTrigger(gg_trg_Thr_AmiAi2)
call TriggerSleepAction(.1)
call EnableTrigger(gg_trg_Thr_AmiAi3)
call TriggerSleepAction(.1)
call EnableTrigger(gg_trg_Thr_AmiAi4)
call TriggerSleepAction(.1)
call EnableTrigger(gg_trg_Thr_AmiAi5)
call TriggerSleepAction(.1)
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103]='A0C1'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104]='A0C2'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105]='A0C2'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106]='AIcs'
call TriggerSleepAction(1.)
call IssueTargetOrder(gg_unit_h012_0019,"drain",gg_unit_h012_0024)
call IssueTargetOrder(gg_unit_h012_0024,"drain",gg_unit_h012_0021)
call IssueTargetOrder(gg_unit_h012_0021,"drain",gg_unit_h012_0015)
call IssueTargetOrder(gg_unit_h012_0015,"drain",gg_unit_h012_0023)
call IssueTargetOrder(gg_unit_h012_0023,"drain",gg_unit_h012_0019)
call TriggerSleepAction(120.)
call DestroyTrigger(GetTriggeringTrigger())
else
call PlaySoundBJ(gg_snd_Sound05)
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cff00FFFF大贤者不能在15波前到达巨石传送阵，游戏失败！60秒后自动退出游戏！|r")
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cff00FFFF大贤者不能在15波前到达巨石传送阵，游戏失败！60秒后自动退出游戏！|r")
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cffCCFF33喜欢本图的朋友，登陆sunness.com可以得到玩家QQ群列表以及本图的最新动态！")
call TriggerSleepAction(60.)
call PauseGameOn()
call TriggerSleepAction(1.)
call ForForce(GetPlayersAll(),function Trig_Sec_Ami1_Func009Func001Func012002)
return
endif
else
endif
endfunction
function InitTrig_Sec_Ami1 takes nothing returns nothing
set gg_trg_Sec_Ami1=CreateTrigger()
call DisableTrigger(gg_trg_Sec_Ami1)
call TriggerRegisterTimerExpireEventBJ(gg_trg_Sec_Ami1,udg_M9P2Q7U5l4V5W9O45lO7041D2IG5K3[2])
call TriggerAddAction(gg_trg_Sec_Ami1,function Trig_Sec_Ami1_Actions)
endfunction
function Trig_SEC_AmiGoIN_Func001C takes nothing returns boolean
if(not(GetOwningPlayer(GetEnteringUnit())==Player(9)))then
return false
endif
return true
endfunction
function Trig_SEC_AmiGoIN_Actions takes nothing returns nothing
if(Trig_SEC_AmiGoIN_Func001C())then
call SetUnitUserData(GetEnteringUnit(),-1)
call IssuePointOrderLoc(GetEnteringUnit(),"attack",udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[1])
else
endif
endfunction
function InitTrig_SEC_AmiGoIN takes nothing returns nothing
set gg_trg_SEC_AmiGoIN=CreateTrigger()
call DisableTrigger(gg_trg_SEC_AmiGoIN)
call TriggerRegisterEnterRectSimple(gg_trg_SEC_AmiGoIN,gg_rct_SEC______04)
call TriggerRegisterEnterRectSimple(gg_trg_SEC_AmiGoIN,gg_rct_SEC______05)
call TriggerRegisterEnterRectSimple(gg_trg_SEC_AmiGoIN,gg_rct_SEC______06)
call TriggerAddAction(gg_trg_SEC_AmiGoIN,function Trig_SEC_AmiGoIN_Actions)
endfunction
function Trig_Sec_XH_Func002Func001C takes nothing returns boolean
if(not(GetUnitUserData(GetEnumUnit())==-1))then
return false
endif
return true
endfunction
function Trig_Sec_XH_Func002A takes nothing returns nothing
if(Trig_Sec_XH_Func002Func001C())then
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[1])
else
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[GetUnitUserData(GetEnumUnit())])
endif
endfunction
function Trig_Sec_XH_Func007Func002A takes nothing returns nothing
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[1])
endfunction
function Trig_Sec_XH_Func009Func003Func003A takes nothing returns nothing
call SetUnitUserData(GetEnumUnit(),0)
call IssueTargetOrder(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[1])
endfunction
function Trig_Sec_XH_Func009Func004Func003A takes nothing returns nothing
call SetUnitUserData(GetEnumUnit(),0)
call IssueTargetOrder(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[2])
endfunction
function Trig_Sec_XH_Func009C takes nothing returns boolean
if(not(GetUnitUserData(udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[1])==0))then
return false
endif
return true
endfunction
function Trig_Sec_XH_Actions takes nothing returns nothing
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[0],Player(9))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1],function Trig_Sec_XH_Func002A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[0],Player(9))
set bj_forLoopAIndex=114
set bj_forLoopAIndexEnd=116
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()],Player(9))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1],function Trig_Sec_XH_Func007Func002A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
if(Trig_Sec_XH_Func009C())then
call IssuePointOrderLoc(udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[1],"move",udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[27])
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=2
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()],Player(11))
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2]=GetRandomSubGroup((2*(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1)),udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2],function Trig_Sec_XH_Func009Func003Func003A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=3
set bj_forLoopAIndexEnd=4
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[GetForLoopIndexA()],Player(11))
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2]=GetRandomSubGroup((2*(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1)),udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2],function Trig_Sec_XH_Func009Func004Func003A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
else
endif
endfunction
function InitTrig_Sec_XH takes nothing returns nothing
set gg_trg_Sec_XH=CreateTrigger()
call DisableTrigger(gg_trg_Sec_XH)
call TriggerRegisterTimerEventPeriodic(gg_trg_Sec_XH,20.11)
call TriggerAddAction(gg_trg_Sec_XH,function Trig_Sec_XH_Actions)
endfunction
function Trig_Sec_Out_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(10)))then
return false
endif
return true
endfunction
function Trig_Sec_Out_Func001C takes nothing returns boolean
if(not(GetUnitUserData(GetTriggerUnit())!=0))then
return false
endif
return true
endfunction
function Trig_Sec_Out_Actions takes nothing returns nothing
if(Trig_Sec_Out_Func001C())then
call IssuePointOrderLoc(GetTriggerUnit(),"move",udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[(GetUnitUserData(GetTriggerUnit())-2000)])
else
endif
endfunction
function InitTrig_Sec_Out takes nothing returns nothing
set gg_trg_Sec_Out=CreateTrigger()
call DisableTrigger(gg_trg_Sec_Out)
call TriggerRegisterLeaveRectSimple(gg_trg_Sec_Out,gg_rct_SEC______00B)
call TriggerAddCondition(gg_trg_Sec_Out,Condition(function Trig_Sec_Out_Conditions))
call TriggerAddAction(gg_trg_Sec_Out,function Trig_Sec_Out_Actions)
endfunction
function Trig_Sec_GoBack_Conditions takes nothing returns boolean
if(not(GetItemTypeId(GetManipulatedItem())=='I04V'))then
return false
endif
return true
endfunction
function Trig_Sec_GoBack_Func002Func001C takes nothing returns boolean
if(not(GetUnitUserData(GetEnumUnit())!=0))then
return false
endif
return true
endfunction
function Trig_Sec_GoBack_Func002A takes nothing returns nothing
if(Trig_Sec_GoBack_Func002Func001C())then
call IssuePointOrderLoc(GetEnumUnit(),"move",udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[(GetUnitUserData(GetEnumUnit())-2000)])
else
endif
endfunction
function Trig_Sec_GoBack_Actions takes nothing returns nothing
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[3]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[100],Player(10))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[3],function Trig_Sec_GoBack_Func002A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[3])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[3])
endfunction
function InitTrig_Sec_GoBack takes nothing returns nothing
set gg_trg_Sec_GoBack=CreateTrigger()
call DisableTrigger(gg_trg_Sec_GoBack)
call TriggerRegisterAnyUnitEventBJ(gg_trg_Sec_GoBack,EVENT_PLAYER_UNIT_PICKUP_ITEM)
call TriggerAddCondition(gg_trg_Sec_GoBack,Condition(function Trig_Sec_GoBack_Conditions))
call TriggerAddAction(gg_trg_Sec_GoBack,function Trig_Sec_GoBack_Actions)
endfunction
function Trig_SEC_heroIN_Conditions takes nothing returns boolean
if(not(GetTriggerUnit()==udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[1]))then
return false
endif
return true
endfunction
function Trig_SEC_heroIN_Actions takes nothing returns nothing
call PlaySoundBJ(gg_snd_Sound06)
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cffffff00大贤者已经安全抵达巨石传送阵，开始进行研究！")
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cffffff00任务四：保护好大贤者以及基地的大将军，任一死亡，游戏将会失败！")
call PingMinimapLocForForce(GetPlayersAll(),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[27],60.)
call PingMinimapLocForForceEx(GetPlayersAll(),udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[27],60.,bj_MINIMAPPINGSTYLE_FLASHY,.0,50.,50.)
call SetUnitMoveSpeed(udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[1],.0)
set udg_M9PA2Q7U5l4V5W9O45lO7041D2G5K3[24]=GetRectCenter(gg_rct_______Second01)
call UnitAddAbilityBJ('ANcl',GetTriggerUnit())
call IssueImmediateOrder(GetTriggerUnit(),"channel")
set udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[3]=udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[1]
call TriggerSleepAction(60.)
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_SEC_heroIN takes nothing returns nothing
set gg_trg_SEC_heroIN=CreateTrigger()
call DisableTrigger(gg_trg_SEC_heroIN)
call TriggerRegisterEnterRectSimple(gg_trg_SEC_heroIN,gg_rct_______Second01)
call TriggerAddCondition(gg_trg_SEC_heroIN,Condition(function Trig_SEC_heroIN_Conditions))
call TriggerAddAction(gg_trg_SEC_heroIN,function Trig_SEC_heroIN_Actions)
endfunction
function Trig_Sec_Die_Func001Func001C takes nothing returns boolean
if((GetTriggerUnit()==udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[1]))then
return true
endif
if((GetTriggerUnit()==udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[2]))then
return true
endif
return false
endfunction
function Trig_Sec_Die_Func001Func009002 takes nothing returns nothing
call CustomDefeatBJ(GetEnumPlayer(),"失败!")
endfunction
function Trig_Sec_Die_Func001C takes nothing returns boolean
if(not Trig_Sec_Die_Func001Func001C())then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
return true
endfunction
function Trig_Sec_Die_Actions takes nothing returns nothing
if(Trig_Sec_Die_Func001C())then
call PlaySoundBJ(gg_snd_Sound05)
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cff00FFFF大将军或大贤者阵亡，游戏失败！60秒后自动退出游戏！|r")
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cff00FFFF大将军或大贤者阵亡，游戏失败！60秒后自动退出游戏！|r")
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cffCCFF33喜欢本图的朋友，登陆sunness.com可以得到玩家QQ群列表以及本图的最新动态！")
call TriggerSleepAction(60.)
call PauseGameOn()
call TriggerSleepAction(1.)
call ForForce(GetPlayersAll(),function Trig_Sec_Die_Func001Func009002)
return
else
endif
endfunction
function InitTrig_Sec_Die takes nothing returns nothing
set gg_trg_Sec_Die=CreateTrigger()
call DisableTrigger(gg_trg_Sec_Die)
call TriggerRegisterAnyUnitEventBJ(gg_trg_Sec_Die,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddAction(gg_trg_Sec_Die,function Trig_Sec_Die_Actions)
endfunction
function Trig_Sec_AI_Func002Func001C takes nothing returns boolean
if((GetTriggerUnit()==udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[1]))then
return true
endif
if((GetTriggerUnit()==udg_M9P2Q7U5l4V5W9O4D5lO7041D2G5K3[2]))then
return true
endif
return false
endfunction
function Trig_Sec_AI_Func002C takes nothing returns boolean
if(not Trig_Sec_AI_Func002Func001C())then
return false
endif
if(not(IsUnitAlly(GetAttacker(),Player(0))==true))then
return false
endif
return true
endfunction
function Trig_Sec_AI_Actions takes nothing returns nothing
if(Trig_Sec_AI_Func002C())then
call KillUnit(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))])
call SetPlayerStateBJ(GetOwningPlayer(GetAttacker()),PLAYER_STATE_RESOURCE_GOLD,0)
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_WARNING,("|cffFF0066玩家 "+(GetPlayerName(GetOwningPlayer(GetAttacker()))+" 阴谋造反，攻击盟军，已被处屎！")))
else
endif
endfunction
function InitTrig_Sec_AI takes nothing returns nothing
set gg_trg_Sec_AI=CreateTrigger()
call DisableTrigger(gg_trg_Sec_AI)
call TriggerRegisterAnyUnitEventBJ(gg_trg_Sec_AI,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddAction(gg_trg_Sec_AI,function Trig_Sec_AI_Actions)
endfunction
function Trig_Thr_login_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[1]=GetRectCenter(gg_rct_______Road001)
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[2]=GetRectCenter(gg_rct_______Road002)
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[3]=GetRectCenter(gg_rct_______Road003)
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[4]=GetRectCenter(gg_rct_______Road004)
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[5]=GetRectCenter(gg_rct_______Road005)
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[6]=GetRectCenter(gg_rct_______Road006)
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[11]=GetRectCenter(gg_rct_______Road007)
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[12]=GetRectCenter(gg_rct_______Road008)
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[101]=gg_rct_______Road001
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[102]=gg_rct_______Road002
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[103]=gg_rct_______Road003
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[104]=gg_rct_______Road004
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[105]=gg_rct_______Road005
set udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[106]=gg_rct_______Road006
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[101]='h00X'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[102]='h00Y'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[103]='u00F'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[104]='u00G'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[105]='h00Z'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[106]='h010'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[107]='n02D'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[108]='u00H'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[109]='e007'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[110]='n02F'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[111]='n02B'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[112]='n00J'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[113]='n02C'
set udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[114]='u004'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[101]='A0C1'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[102]='A0C2'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103]='A0C1'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104]='A0C2'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105]='A0C2'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106]='AIcs'
call AddItemToStockBJ('I02D',gg_unit_n02E_0037,1,0)
call AddItemToStockBJ('I045',gg_unit_n02E_0037,1,0)
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Thr_login takes nothing returns nothing
set gg_trg_Thr_login=CreateTrigger()
call TriggerAddAction(gg_trg_Thr_login,function Trig_Thr_login_Actions)
endfunction
function Trig_Thr_Go_Func001C takes nothing returns boolean
if(not(IsUnitAlly(GetEnteringUnit(),Player(0))==true))then
return false
endif
if(not(IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO)==true))then
return false
endif
return true
endfunction
function Trig_Thr_Go_Func010Func001C takes nothing returns boolean
if(not(IsUnitAlly(GetEnumUnit(),Player(0))==true))then
return false
endif
if(not(IsUnitType(GetEnumUnit(),UNIT_TYPE_HERO)==true))then
return false
endif
if(not(GetOwningPlayer(GetEnumUnit())!=Player(PLAYER_NEUTRAL_PASSIVE)))then
return false
endif
return true
endfunction
function Trig_Thr_Go_Func010A takes nothing returns nothing
if(Trig_Thr_Go_Func010Func001C())then
call SetUnitPositionLoc(GetEnumUnit(),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[11])
set udg_M9P2Q7U53l4V5W9O45lO7041D2G5K3[(20+GetConvertedPlayerId(GetOwningPlayer(GetEnumUnit())))]=1
call PanCameraToTimedLocForPlayer(GetOwningPlayer(GetEnumUnit()),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[11],0)
call SetFogStateRect(GetOwningPlayer(GetEnumUnit()),FOG_OF_WAR_MASKED,GetPlayableMapRect(),true)
else
endif
endfunction
function Trig_Thr_Go_Func020A takes nothing returns nothing
call RemoveItem(GetEnumItem())
endfunction
function Trig_Thr_Go_Func022A takes nothing returns nothing
call RemoveItem(GetEnumItem())
endfunction
function Trig_Thr_Go_Actions takes nothing returns nothing
if(Trig_Thr_Go_Func001C())then
call PlaySoundBJ(gg_snd_Sec01)
else
return
endif
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[17]=1
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0]=GetUnitsInRectAll(GetPlayableMapRect())
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0],function Trig_Thr_Go_Func010A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0]=GetUnitsInRectAll(GetPlayableMapRect())
call RemoveUnit(gg_unit_h012_0019)
call RemoveUnit(gg_unit_h012_0024)
call RemoveUnit(gg_unit_h012_0021)
call RemoveUnit(gg_unit_h012_0015)
call RemoveUnit(gg_unit_h012_0023)
call TriggerSleepAction(1.)
call EnumItemsInRectBJ(gg_rct_______Map,function Trig_Thr_Go_Func020A)
call TriggerSleepAction(1.)
call EnumItemsInRectBJ(gg_rct______________021,function Trig_Thr_Go_Func022A)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Thr_Go takes nothing returns nothing
set gg_trg_Thr_Go=CreateTrigger()
call DisableTrigger(gg_trg_Thr_Go)
call TriggerRegisterEnterRectSimple(gg_trg_Thr_Go,gg_rct_______Second01)
call TriggerAddAction(gg_trg_Thr_Go,function Trig_Thr_Go_Actions)
endfunction
function Trig_Thr_AmiMove_Func001C takes nothing returns boolean
if(not(IsUnitAlly(GetEnteringUnit(),Player(0))==true))then
return false
endif
if(not(IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO)!=true))then
return false
endif
if(not(IsUnitType(GetEnteringUnit(),UNIT_TYPE_SUMMONED)!=true))then
return false
endif
return true
endfunction
function Trig_Thr_AmiMove_Func002C takes nothing returns boolean
if(not(IsUnitAlly(GetEnteringUnit(),Player(11))==true))then
return false
endif
if(not(IsUnitType(GetEnteringUnit(),UNIT_TYPE_HERO)!=true))then
return false
endif
return true
endfunction
function Trig_Thr_AmiMove_Actions takes nothing returns nothing
if(Trig_Thr_AmiMove_Func001C())then
call IssuePointOrderLoc(GetEnteringUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[12])
else
endif
if(Trig_Thr_AmiMove_Func002C())then
call IssuePointOrderLoc(GetEnteringUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[11])
else
endif
endfunction
function InitTrig_Thr_AmiMove takes nothing returns nothing
set gg_trg_Thr_AmiMove=CreateTrigger()
call DisableTrigger(gg_trg_Thr_AmiMove)
call TriggerRegisterEnterRectSimple(gg_trg_Thr_AmiMove,gg_rct_______Road001)
call TriggerRegisterEnterRectSimple(gg_trg_Thr_AmiMove,gg_rct_______Road002)
call TriggerRegisterEnterRectSimple(gg_trg_Thr_AmiMove,gg_rct_______Road003)
call TriggerRegisterEnterRectSimple(gg_trg_Thr_AmiMove,gg_rct_______Road004)
call TriggerRegisterEnterRectSimple(gg_trg_Thr_AmiMove,gg_rct_______Road005)
call TriggerRegisterEnterRectSimple(gg_trg_Thr_AmiMove,gg_rct_______Road006)
call TriggerAddAction(gg_trg_Thr_AmiMove,function Trig_Thr_AmiMove_Actions)
endfunction
function Trig_Thr_Ami_Conditions takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]<100))then
return false
endif
return true
endfunction
function Trig_Thr_Ami_Func001Func002C takes nothing returns boolean
if((GetUnitTypeId(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[1])!='U00M'))then
return true
endif
if((GetUnitTypeId(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[2])!='U002'))then
return true
endif
if((GetUnitTypeId(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[3])!='U00I'))then
return true
endif
return false
endfunction
function Trig_Thr_Ami_Func001C takes nothing returns boolean
if(not Trig_Thr_Ami_Func001Func002C())then
return false
endif
return true
endfunction
function Trig_Thr_Ami_Func003Func001C takes nothing returns boolean
if(not(IsUnitType(GetEnumUnit(),UNIT_TYPE_HERO)==true))then
return false
endif
if(not(UnitHasBuffBJ(GetEnumUnit(),'Boar')==true))then
return false
endif
return true
endfunction
function Trig_Thr_Ami_Func003A takes nothing returns nothing
if(Trig_Thr_Ami_Func003Func001C())then
else
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[11])
endif
endfunction
function Trig_Thr_Ami_Func007Func004A takes nothing returns nothing
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[(3+GetForLoopIndexA())])
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[101],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[102],GetEnumUnit())
endfunction
function Trig_Thr_Ami_Func008Func004A takes nothing returns nothing
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[(GetForLoopIndexA()-3)])
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetEnumUnit())
endfunction
function Trig_Thr_Ami_Actions takes nothing returns nothing
if(Trig_Thr_Ami_Func001C())then
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cff00FFFF变量锁定失败，请捉屏转达本图作者！")
else
endif
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsOfPlayerAll(Player(11))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1],function Trig_Thr_Ami_Func003A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]+12)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(2,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[101],Player(10),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[102],Player(10),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[(100+GetForLoopIndexA())],Player(10))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1],function Trig_Thr_Ami_Func007Func004A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=4
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(2,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[103],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[104],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[(100+GetForLoopIndexA())],Player(11))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1],function Trig_Thr_Ami_Func008Func004A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[1])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Thr_Ami takes nothing returns nothing
set gg_trg_Thr_Ami=CreateTrigger()
call DisableTrigger(gg_trg_Thr_Ami)
call TriggerRegisterTimerEventPeriodic(gg_trg_Thr_Ami,25.)
call TriggerAddCondition(gg_trg_Thr_Ami,Condition(function Trig_Thr_Ami_Conditions))
call TriggerAddAction(gg_trg_Thr_Ami,function Trig_Thr_Ami_Actions)
endfunction
function Trig_Thr_Ami2_Conditions takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]<100))then
return false
endif
return true
endfunction
function Trig_Thr_Ami2_Func002Func004A takes nothing returns nothing
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[(3+GetForLoopIndexA())])
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[101],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[102],GetEnumUnit())
endfunction
function Trig_Thr_Ami2_Func003Func007A takes nothing returns nothing
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[(GetForLoopIndexA()-3)])
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetEnumUnit())
endfunction
function Trig_Thr_Ami2_Actions takes nothing returns nothing
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]+12)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(2,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[105],Player(10),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
call CreateNUnitsAtLoc(2,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[106],Player(10),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[(100+GetForLoopIndexA())],Player(10))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2],function Trig_Thr_Ami2_Func002Func004A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=4
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(2,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[107],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[108],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
call SetUnitColor(GetLastCreatedUnit(),PLAYER_COLOR_ORANGE)
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[108],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
call SetUnitColor(GetLastCreatedUnit(),PLAYER_COLOR_ORANGE)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[(100+GetForLoopIndexA())],Player(11))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2],function Trig_Thr_Ami2_Func003Func007A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[2])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Thr_Ami2 takes nothing returns nothing
set gg_trg_Thr_Ami2=CreateTrigger()
call DisableTrigger(gg_trg_Thr_Ami2)
call TriggerRegisterTimerEventPeriodic(gg_trg_Thr_Ami2,50.1)
call TriggerAddCondition(gg_trg_Thr_Ami2,Condition(function Trig_Thr_Ami2_Conditions))
call TriggerAddAction(gg_trg_Thr_Ami2,function Trig_Thr_Ami2_Actions)
endfunction
function Trig_Thr_Ami3_Conditions takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]<100))then
return false
endif
return true
endfunction
function Trig_Thr_Ami3_Func002Func003A takes nothing returns nothing
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[(3+GetForLoopIndexA())])
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[101],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[102],GetEnumUnit())
endfunction
function Trig_Thr_Ami3_Func003Func003Func006C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]>=3))then
return false
endif
return true
endfunction
function Trig_Thr_Ami3_Func003Func003A takes nothing returns nothing
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[(GetForLoopIndexA()-3)])
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetEnumUnit())
if(Trig_Thr_Ami3_Func003Func003Func006C())then
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[20]=udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[GetRandomInt(21,53)]
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[20],GetEnumUnit())
call SetUnitAbilityLevelSwapped(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[20],GetEnumUnit(),5)
else
endif
endfunction
function Trig_Thr_Ami3_Actions takes nothing returns nothing
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]+6)
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(2,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[109],Player(10),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[3]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[(100+GetForLoopIndexA())],Player(10))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[3],function Trig_Thr_Ami3_Func002Func003A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[3])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[3])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
set bj_forLoopAIndex=4
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(2,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[110],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[3]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[(100+GetForLoopIndexA())],Player(11))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[3],function Trig_Thr_Ami3_Func003Func003A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[3])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[3])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Thr_Ami3 takes nothing returns nothing
set gg_trg_Thr_Ami3=CreateTrigger()
call DisableTrigger(gg_trg_Thr_Ami3)
call TriggerRegisterTimerEventPeriodic(gg_trg_Thr_Ami3,80.2)
call TriggerAddCondition(gg_trg_Thr_Ami3,Condition(function Trig_Thr_Ami3_Conditions))
call TriggerAddAction(gg_trg_Thr_Ami3,function Trig_Thr_Ami3_Actions)
endfunction
function Trig_Thr_Ami4_Conditions takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]<100))then
return false
endif
return true
endfunction
function Trig_Thr_Ami4_Func002Func003A takes nothing returns nothing
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[(GetForLoopIndexA()-3)])
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetEnumUnit())
endfunction
function Trig_Thr_Ami4_Actions takes nothing returns nothing
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]+6)
set bj_forLoopAIndex=4
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(2,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[111],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[4]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[(100+GetForLoopIndexA())],Player(11))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[4],function Trig_Thr_Ami4_Func002Func003A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[4])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[4])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Thr_Ami4 takes nothing returns nothing
set gg_trg_Thr_Ami4=CreateTrigger()
call DisableTrigger(gg_trg_Thr_Ami4)
call TriggerRegisterTimerEventPeriodic(gg_trg_Thr_Ami4,120.3)
call TriggerAddCondition(gg_trg_Thr_Ami4,Condition(function Trig_Thr_Ami4_Conditions))
call TriggerAddAction(gg_trg_Thr_Ami4,function Trig_Thr_Ami4_Actions)
endfunction
function Trig_Thr_Ami5_Conditions takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]<100))then
return false
endif
return true
endfunction
function Trig_Thr_Ami5_Func002Func003A takes nothing returns nothing
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[(GetForLoopIndexA()-3)])
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetEnumUnit())
endfunction
function Trig_Thr_Ami5_Actions takes nothing returns nothing
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]+6)
set bj_forLoopAIndex=4
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(2,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[112],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[5]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[(100+GetForLoopIndexA())],Player(11))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[5],function Trig_Thr_Ami5_Func002Func003A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[5])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[5])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Thr_Ami5 takes nothing returns nothing
set gg_trg_Thr_Ami5=CreateTrigger()
call DisableTrigger(gg_trg_Thr_Ami5)
call TriggerRegisterTimerEventPeriodic(gg_trg_Thr_Ami5,150.4)
call TriggerAddCondition(gg_trg_Thr_Ami5,Condition(function Trig_Thr_Ami5_Conditions))
call TriggerAddAction(gg_trg_Thr_Ami5,function Trig_Thr_Ami5_Actions)
endfunction
function Trig_Thr_Ami6_Conditions takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]<100))then
return false
endif
return true
endfunction
function Trig_Thr_Ami6_Func002Func003A takes nothing returns nothing
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[(GetForLoopIndexA()-3)])
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[106],GetEnumUnit())
endfunction
function Trig_Thr_Ami6_Actions takes nothing returns nothing
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]=(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[14]+6)
set bj_forLoopAIndex=4
set bj_forLoopAIndexEnd=6
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
call CreateNUnitsAtLoc(2,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[113],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetForLoopIndexA()],bj_UNIT_FACING)
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[6]=GetUnitsInRectOfPlayer(udg_M9P2Q7U5l4V51W9O45lO7047D2G5K3[(100+GetForLoopIndexA())],Player(11))
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[6],function Trig_Thr_Ami6_Func002Func003A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[6])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[6])
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
endfunction
function InitTrig_Thr_Ami6 takes nothing returns nothing
set gg_trg_Thr_Ami6=CreateTrigger()
call DisableTrigger(gg_trg_Thr_Ami6)
call TriggerRegisterTimerEventPeriodic(gg_trg_Thr_Ami6,180.5)
call TriggerAddCondition(gg_trg_Thr_Ami6,Condition(function Trig_Thr_Ami6_Conditions))
call TriggerAddAction(gg_trg_Thr_Ami6,function Trig_Thr_Ami6_Actions)
endfunction
function Trig_Thr_Ami7_Func004C takes nothing returns boolean
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]>2))then
return false
endif
return true
endfunction
function Trig_Thr_Ami7_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[0]=PolarProjectionBJ(udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[12],50.,90.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[114],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[0],bj_UNIT_FACING)
call IssuePointOrderLoc(GetLastCreatedUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[11])
if(Trig_Thr_Ami7_Func004C())then
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[0]=PolarProjectionBJ(udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[12],50.,270.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[114],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[0],bj_UNIT_FACING)
call IssuePointOrderLoc(GetLastCreatedUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[11])
else
endif
endfunction
function InitTrig_Thr_Ami7 takes nothing returns nothing
set gg_trg_Thr_Ami7=CreateTrigger()
call DisableTrigger(gg_trg_Thr_Ami7)
call TriggerRegisterTimerEventPeriodic(gg_trg_Thr_Ami7,120.)
call TriggerAddAction(gg_trg_Thr_Ami7,function Trig_Thr_Ami7_Actions)
endfunction
function Trig_Thr_ArmUP_Func001Func006A takes nothing returns nothing
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[101],GetEnumUnit())
endfunction
function Trig_Thr_ArmUP_Func001C takes nothing returns boolean
if(not(GetItemTypeId(GetSoldItem())=='I02D'))then
return false
endif
return true
endfunction
function Trig_Thr_ArmUP_Func002Func006A takes nothing returns nothing
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[101],GetEnumUnit())
endfunction
function Trig_Thr_ArmUP_Func002C takes nothing returns boolean
if(not(GetItemTypeId(GetSoldItem())=='I04D'))then
return false
endif
return true
endfunction
function Trig_Thr_ArmUP_Func003Func006A takes nothing returns nothing
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[101],GetEnumUnit())
endfunction
function Trig_Thr_ArmUP_Func003C takes nothing returns boolean
if(not(GetItemTypeId(GetSoldItem())=='I04L'))then
return false
endif
return true
endfunction
function Trig_Thr_ArmUP_Func004Func005A takes nothing returns nothing
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[101],GetEnumUnit())
endfunction
function Trig_Thr_ArmUP_Func004C takes nothing returns boolean
if(not(GetItemTypeId(GetSoldItem())=='I04M'))then
return false
endif
return true
endfunction
function Trig_Thr_ArmUP_Func006Func006A takes nothing returns nothing
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[102],GetEnumUnit())
endfunction
function Trig_Thr_ArmUP_Func006C takes nothing returns boolean
if(not(GetItemTypeId(GetSoldItem())=='I045'))then
return false
endif
return true
endfunction
function Trig_Thr_ArmUP_Func007Func006A takes nothing returns nothing
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[102],GetEnumUnit())
endfunction
function Trig_Thr_ArmUP_Func007C takes nothing returns boolean
if(not(GetItemTypeId(GetSoldItem())=='I042'))then
return false
endif
return true
endfunction
function Trig_Thr_ArmUP_Func008Func006A takes nothing returns nothing
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[102],GetEnumUnit())
endfunction
function Trig_Thr_ArmUP_Func008C takes nothing returns boolean
if(not(GetItemTypeId(GetSoldItem())=='I043'))then
return false
endif
return true
endfunction
function Trig_Thr_ArmUP_Func009Func005A takes nothing returns nothing
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[102],GetEnumUnit())
endfunction
function Trig_Thr_ArmUP_Func009C takes nothing returns boolean
if(not(GetItemTypeId(GetSoldItem())=='I049'))then
return false
endif
return true
endfunction
function Trig_Thr_ArmUP_Actions takes nothing returns nothing
if(Trig_Thr_ArmUP_Func001C())then
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetOwningPlayer(GetBuyingUnit()))+"|cff00AAFF升级盟军士兵武器到第二级！|r"))
call RemoveItemFromStockBJ('I02D',gg_unit_n02E_0037)
call AddItemToStockBJ('I04D',gg_unit_n02E_0037,1,0)
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[101]='A0BT'
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22]=GetUnitsOfPlayerAndTypeId(Player(10),'h00G')
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22],function Trig_Thr_ArmUP_Func001Func006A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
else
endif
if(Trig_Thr_ArmUP_Func002C())then
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetOwningPlayer(GetBuyingUnit()))+"|cff00AAFF升级盟军士兵武器到第三级！|r"))
call RemoveItemFromStockBJ('I04D',gg_unit_n02E_0037)
call AddItemToStockBJ('I04L',gg_unit_n02E_0037,1,0)
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[101]='A0BV'
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22]=GetUnitsOfPlayerAndTypeId(Player(10),'h00G')
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22],function Trig_Thr_ArmUP_Func002Func006A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
else
endif
if(Trig_Thr_ArmUP_Func003C())then
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetOwningPlayer(GetBuyingUnit()))+"|cff00AAFF升级盟军士兵武器到第四级！|r"))
call RemoveItemFromStockBJ('I04L',gg_unit_n02E_0037)
call AddItemToStockBJ('I04M',gg_unit_n02E_0037,1,0)
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[101]='A0C7'
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22]=GetUnitsOfPlayerAndTypeId(Player(10),'h00G')
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22],function Trig_Thr_ArmUP_Func003Func006A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
else
endif
if(Trig_Thr_ArmUP_Func004C())then
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetOwningPlayer(GetBuyingUnit()))+"|cff00AAFF升级盟军士兵武器到第五级！|r"))
call RemoveItemFromStockBJ('I04M',gg_unit_n02E_0037)
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[101]='A0C8'
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22]=GetUnitsOfPlayerAndTypeId(Player(10),'h00G')
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22],function Trig_Thr_ArmUP_Func004Func005A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
else
endif
if(Trig_Thr_ArmUP_Func006C())then
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetOwningPlayer(GetBuyingUnit()))+"|cff00AAFF升级盟军士兵装甲到第二级！|r"))
call RemoveItemFromStockBJ('I045',gg_unit_n02E_0037)
call AddItemToStockBJ('I042',gg_unit_n02E_0037,1,1)
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[102]='A0BW'
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22]=GetUnitsOfPlayerAndTypeId(Player(10),'h00G')
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22],function Trig_Thr_ArmUP_Func006Func006A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
else
endif
if(Trig_Thr_ArmUP_Func007C())then
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetOwningPlayer(GetBuyingUnit()))+"|cff00AAFF升级盟军士兵装甲到第三级！|r"))
call RemoveItemFromStockBJ('I042',gg_unit_n02E_0037)
call AddItemToStockBJ('I043',gg_unit_n02E_0037,1,1)
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[102]='A0BX'
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22]=GetUnitsOfPlayerAndTypeId(Player(10),'h00G')
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22],function Trig_Thr_ArmUP_Func007Func006A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
else
endif
if(Trig_Thr_ArmUP_Func008C())then
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetOwningPlayer(GetBuyingUnit()))+"|cff00AAFF升级盟军士兵装甲到第四级！|r"))
call RemoveItemFromStockBJ('I043',gg_unit_n02E_0037)
call AddItemToStockBJ('I049',gg_unit_n02E_0037,1,1)
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[102]='A0BY'
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22]=GetUnitsOfPlayerAndTypeId(Player(10),'h00G')
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22],function Trig_Thr_ArmUP_Func008Func006A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
else
endif
if(Trig_Thr_ArmUP_Func009C())then
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_UNITACQUIRED,(GetPlayerName(GetOwningPlayer(GetBuyingUnit()))+"|cff00AAFF升级盟军士兵装甲到第五级！|r"))
call RemoveItemFromStockBJ('I049',gg_unit_n02E_0037)
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[102]='A0BZ'
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22]=GetUnitsOfPlayerAndTypeId(Player(10),'h00G')
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22],function Trig_Thr_ArmUP_Func009Func005A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[22])
else
endif
endfunction
function InitTrig_Thr_ArmUP takes nothing returns nothing
set gg_trg_Thr_ArmUP=CreateTrigger()
call DisableTrigger(gg_trg_Thr_ArmUP)
call TriggerRegisterAnyUnitEventBJ(gg_trg_Thr_ArmUP,EVENT_PLAYER_UNIT_SELL_ITEM)
call TriggerAddAction(gg_trg_Thr_ArmUP,function Trig_Thr_ArmUP_Actions)
endfunction
function Trig_Thr_AmiUP_Func001Func002Func007A takes nothing returns nothing
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetEnumUnit())
endfunction
function Trig_Thr_AmiUP_Func001Func002C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[17]==1))then
return false
endif
return true
endfunction
function Trig_Thr_AmiUP_Func001Func003Func007A takes nothing returns nothing
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetEnumUnit())
endfunction
function Trig_Thr_AmiUP_Func001Func003C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[17]==2))then
return false
endif
return true
endfunction
function Trig_Thr_AmiUP_Func001Func004Func007A takes nothing returns nothing
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetEnumUnit())
endfunction
function Trig_Thr_AmiUP_Func001Func004C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[17]==3))then
return false
endif
return true
endfunction
function Trig_Thr_AmiUP_Func001Func005Func007A takes nothing returns nothing
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103],GetEnumUnit())
call UnitAddAbilityBJ(udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104],GetEnumUnit())
endfunction
function Trig_Thr_AmiUP_Func001Func005C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[17]==4))then
return false
endif
return true
endfunction
function Trig_Thr_AmiUP_Func001C takes nothing returns boolean
if(not(udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[16]>400))then
return false
endif
return true
endfunction
function Trig_Thr_AmiUP_Func003Func005Func002C takes nothing returns boolean
if((GetUnitTypeId(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[1])!='U00M'))then
return true
endif
if((GetUnitTypeId(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[2])!='U002'))then
return true
endif
if((GetUnitTypeId(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[3])!='U00I'))then
return true
endif
return false
endfunction
function Trig_Thr_AmiUP_Func003Func005C takes nothing returns boolean
if(not Trig_Thr_AmiUP_Func003Func005Func002C())then
return false
endif
return true
endfunction
function Trig_Thr_AmiUP_Func003Func010002 takes nothing returns nothing
call CustomVictoryBJ(GetEnumPlayer(),true,true)
endfunction
function Trig_Thr_AmiUP_Func003C takes nothing returns boolean
if(not(GetTriggerUnit()==gg_unit_u00B_0268))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
return true
endfunction
function Trig_Thr_AmiUP_Func004Func009002 takes nothing returns nothing
call CustomDefeatBJ(GetEnumPlayer(),"失败!")
endfunction
function Trig_Thr_AmiUP_Func004C takes nothing returns boolean
if(not(GetTriggerUnit()==gg_unit_h00S_0271))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
return true
endfunction
function Trig_Thr_AmiUP_Func006Func008C takes nothing returns boolean
if((GetUnitTypeId(GetTriggerUnit())=='U00M'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='U002'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='U00I'))then
return true
endif
return false
endfunction
function Trig_Thr_AmiUP_Func006C takes nothing returns boolean
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
if(not Trig_Thr_AmiUP_Func006Func008C())then
return false
endif
return true
endfunction
function Trig_Thr_AmiUP_Func008C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='u00C'))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
return true
endfunction
function Trig_Thr_AmiUP_Func009Func010C takes nothing returns boolean
if((GetUnitTypeId(GetTriggerUnit())=='u00D'))then
return true
endif
if((GetUnitTypeId(GetTriggerUnit())=='u00E'))then
return true
endif
if((GetTriggerUnit()==gg_unit_u00C_0307))then
return true
endif
if((GetTriggerUnit()==gg_unit_u00C_0301))then
return true
endif
if((GetTriggerUnit()==gg_unit_u00C_0302))then
return true
endif
if((GetTriggerUnit()==gg_unit_u00C_0308))then
return true
endif
return false
endfunction
function Trig_Thr_AmiUP_Func009C takes nothing returns boolean
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
if(not(IsTriggerEnabled(gg_trg_Thr_Ami7)!=true))then
return false
endif
if(not Trig_Thr_AmiUP_Func009Func010C())then
return false
endif
return true
endfunction
function Trig_Thr_AmiUP_Func010C takes nothing returns boolean
if(not(GetUnitTypeId(GetTriggerUnit())=='u00E'))then
return false
endif
if(not(IsUnitIllusionBJ(GetTriggerUnit())!=true))then
return false
endif
return true
endfunction
function Trig_Thr_AmiUP_Actions takes nothing returns nothing
if(Trig_Thr_AmiUP_Func001C())then
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[16]=0
if(Trig_Thr_AmiUP_Func001Func002C())then
call DisplayTextToForce(GetPlayersAll(),"|cffFF0000魔族军团升级了武器装甲到第二级！|r")
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103]='A0BS'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104]='A0BW'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105]='A0C3'
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[17]=2
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21]=GetUnitsOfPlayerAndTypeId(Player(11),'u00C')
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21],function Trig_Thr_AmiUP_Func001Func002Func007A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21])
return
else
endif
if(Trig_Thr_AmiUP_Func001Func003C())then
call DisplayTextToForce(GetPlayersAll(),"|cffFF0000魔族军团升级了武器装甲到第三级！|r")
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103]='A0BT'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104]='A0BX'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105]='A0C4'
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[17]=3
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21]=GetUnitsOfPlayerAndTypeId(Player(11),'u00C')
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21],function Trig_Thr_AmiUP_Func001Func003Func007A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21])
return
else
endif
if(Trig_Thr_AmiUP_Func001Func004C())then
call DisplayTextToForce(GetPlayersAll(),"|cffFF0000魔族军团升级了武器装甲到第四级！|r")
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103]='A0BU'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104]='A0BY'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105]='A0C5'
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[17]=4
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21]=GetUnitsOfPlayerAndTypeId(Player(11),'u00C')
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21],function Trig_Thr_AmiUP_Func001Func004Func007A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21])
return
else
endif
if(Trig_Thr_AmiUP_Func001Func005C())then
call DisplayTextToForce(GetPlayersAll(),"|cffFF0000魔族军团升级了武器装甲到第五级！|r")
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[103]='A0BV'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[104]='A0BZ'
set udg_M9P2Q7U5l4V5W9O45lO704F1D2G5K3[105]='A0C6'
set udg_M9P2Q7U5314V5W9O45lO7041D2G5K3[17]=5
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21]=GetUnitsOfPlayerAndTypeId(Player(11),'u00C')
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21],function Trig_Thr_AmiUP_Func001Func005Func007A)
call GroupClear(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21])
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[21])
return
else
endif
else
endif
if(Trig_Thr_AmiUP_Func003C())then
call PlaySoundBJ(gg_snd_Sound03)
call DisplayTimedTextToForce(GetPlayersAll(),60.,("|cff00FFFF祝贺你获得难度："+(I2S((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1))+" 胜利！60秒后自动退出游戏！|r")))
call DisplayTimedTextToForce(GetPlayersAll(),60.,("|cff00FFFF祝贺你获得难度："+(I2S((udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[14]+1))+" 胜利！60秒后自动退出游戏！|r")))
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cffCCFF33喜欢本图的朋友，登陆sunness.com可以得到玩家QQ群列表以及本图的最新动态！")
if(Trig_Thr_AmiUP_Func003Func005C())then
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cff00FFFF变量锁定失败，请捉屏转达本图作者！")
else
endif
call UnitAddAbilityBJ('Avul',gg_unit_h00S_0271)
call TriggerSleepAction(60.)
call PauseGameOn()
call TriggerSleepAction(1.)
call ForForce(GetPlayersAll(),function Trig_Thr_AmiUP_Func003Func010002)
return
else
endif
if(Trig_Thr_AmiUP_Func004C())then
call PlaySoundBJ(gg_snd_Sound05)
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cff00FFFF你失去了前线要塞，游戏失败！60秒后自动退出游戏！|r")
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cff00FFFF你失去了前线要塞，游戏失败！60秒后自动退出游戏！|r")
call DisplayTimedTextToForce(GetPlayersAll(),60.,"|cffCCFF33喜欢本图的朋友，登陆sunness.com可以得到玩家QQ群列表以及本图的最新动态！")
call UnitAddAbilityBJ('Avul',gg_unit_u00B_0268)
call TriggerSleepAction(60.)
call PauseGameOn()
call TriggerSleepAction(1.)
call ForForce(GetPlayersAll(),function Trig_Thr_AmiUP_Func004Func009002)
return
else
endif
if(Trig_Thr_AmiUP_Func006C())then
call TriggerSleepAction(30.)
call ReviveHeroLoc(GetTriggerUnit(),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetRandomInt(4,6)],true)
set udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[999]=GetUnitLoc(GetTriggerUnit())
call PingMinimapLocForForceEx(GetPlayersAll(),udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[999],5.,bj_MINIMAPPINGSTYLE_SIMPLE,100.,.0,100)
call RemoveLocation(udg_M9P2Q7U5l4V5W9O45lO7041D2OG5K3[999])
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_WARNING,"一个敌方英雄复活！")
else
endif
if(Trig_Thr_AmiUP_Func008C())then
call SetPlayerTechResearchedSwap('Robs',(GetPlayerTechCountSimple('Robs',Player(11))+1),Player(11))
call DecUnitAbilityLevelSwapped('A00F',gg_unit_u00B_0268)
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_ALWAYSHINT,"敌人被摧毁一个防御塔，黑色城堡的防御降级了！")
else
endif
if(Trig_Thr_AmiUP_Func009C())then
call EnableTrigger(gg_trg_Thr_Ami7)
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[0]=PolarProjectionBJ(udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[12],80.,90.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[114],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[0],bj_UNIT_FACING)
call IssuePointOrderLoc(GetLastCreatedUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[11])
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[0]=PolarProjectionBJ(udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[12],80.,270.)
call CreateNUnitsAtLoc(1,udg_M9P2Q7U5Wl4V5W9O45lO7041D2G5K3[114],Player(11),udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[0],bj_UNIT_FACING)
call IssuePointOrderLoc(GetLastCreatedUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[11])
else
endif
if(Trig_Thr_AmiUP_Func010C())then
call SetUnitAbilityLevelSwapped('A0CI',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[1],(GetUnitAbilityLevelSwapped('A0CI',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[1])+1))
call SetUnitAbilityLevelSwapped('A02A',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[2],(GetUnitAbilityLevelSwapped('A02A',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[2])+1))
call SetUnitAbilityLevelSwapped('A0CJ',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[3],(GetUnitAbilityLevelSwapped('A0CJ',udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[3])+1))
else
endif
endfunction
function InitTrig_Thr_AmiUP takes nothing returns nothing
set gg_trg_Thr_AmiUP=CreateTrigger()
call DisableTrigger(gg_trg_Thr_AmiUP)
call TriggerRegisterAnyUnitEventBJ(gg_trg_Thr_AmiUP,EVENT_PLAYER_UNIT_DEATH)
call TriggerAddAction(gg_trg_Thr_AmiUP,function Trig_Thr_AmiUP_Actions)
endfunction
function Trig_Thr_AmiAi1_Conditions takes nothing returns boolean
if(not(IsUnitEnemy(GetEnteringUnit(),Player(11))==true))then
return false
endif
return true
endfunction
function Trig_Thr_AmiAi1_Actions takes nothing returns nothing
call IssueTargetOrder(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[1],"attack",GetEnteringUnit())
call IssueTargetOrder(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[2],"attack",GetEnteringUnit())
call IssueTargetOrder(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[3],"attack",GetEnteringUnit())
endfunction
function InitTrig_Thr_AmiAi1 takes nothing returns nothing
set gg_trg_Thr_AmiAi1=CreateTrigger()
call DisableTrigger(gg_trg_Thr_AmiAi1)
call TriggerRegisterEnterRectSimple(gg_trg_Thr_AmiAi1,gg_rct______________020)
call TriggerAddCondition(gg_trg_Thr_AmiAi1,Condition(function Trig_Thr_AmiAi1_Conditions))
call TriggerAddAction(gg_trg_Thr_AmiAi1,function Trig_Thr_AmiAi1_Actions)
endfunction
function Trig_Thr_AmiAi2_Func002Func001Func001C takes nothing returns boolean
if(not(IsUnitType(GetEnumUnit(),UNIT_TYPE_HERO)==true))then
return false
endif
if(not(IsUnitAlly(GetEnumUnit(),Player(11))==true))then
return false
endif
return true
endfunction
function Trig_Thr_AmiAi2_Func002Func001C takes nothing returns boolean
if(not(IsUnitType(GetEnumUnit(),UNIT_TYPE_HERO)==true))then
return false
endif
if(not(IsUnitAlly(GetEnumUnit(),Player(11))==true))then
return false
endif
if(not(UnitHasBuffBJ(GetEnumUnit(),'Boar')==true))then
return false
endif
return true
endfunction
function Trig_Thr_AmiAi2_Func002A takes nothing returns nothing
if(Trig_Thr_AmiAi2_Func002Func001C())then
else
if(Trig_Thr_AmiAi2_Func002Func001Func001C())then
call IssuePointOrderLoc(GetEnumUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[GetRandomInt(4,6)])
else
endif
endif
endfunction
function Trig_Thr_AmiAi2_Actions takes nothing returns nothing
set udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0]=GetUnitsInRectAll(gg_rct_______Road008)
call ForGroupBJ(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0],function Trig_Thr_AmiAi2_Func002A)
call DestroyGroup(udg_M9P2SQ7U5l4V5W9O45lO7041D2G5K3[0])
endfunction
function InitTrig_Thr_AmiAi2 takes nothing returns nothing
set gg_trg_Thr_AmiAi2=CreateTrigger()
call DisableTrigger(gg_trg_Thr_AmiAi2)
call TriggerRegisterTimerEventPeriodic(gg_trg_Thr_AmiAi2,3.7)
call TriggerAddAction(gg_trg_Thr_AmiAi2,function Trig_Thr_AmiAi2_Actions)
endfunction
function Trig_Thr_AmiAi3_Func001C takes nothing returns boolean
if(not(GetTriggerUnit()==gg_unit_h00S_0271))then
return false
endif
if(not(IsUnitAlly(GetAttacker(),Player(0))==true))then
return false
endif
return true
endfunction
function Trig_Thr_AmiAi3_Func003Func003Func002Func001Func001C takes nothing returns boolean
if(not(GetTriggerUnit()!=udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[GetForLoopIndexA()]))then
return false
endif
if(not(GetUnitLifePercent(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[GetForLoopIndexA()])==100.))then
return false
endif
return true
endfunction
function Trig_Thr_AmiAi3_Func003Func003Func002C takes nothing returns boolean
if(not(GetRandomInt(1,20)>18))then
return false
endif
if(not(IsUnitType(GetAttacker(),UNIT_TYPE_HERO)==true))then
return false
endif
return true
endfunction
function Trig_Thr_AmiAi3_Func003Func003C takes nothing returns boolean
if(not(GetUnitLifePercent(GetTriggerUnit())<50.))then
return false
endif
return true
endfunction
function Trig_Thr_AmiAi3_Func003C takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(11)))then
return false
endif
if(not(IsUnitType(GetTriggerUnit(),UNIT_TYPE_HERO)==true))then
return false
endif
return true
endfunction
function Trig_Thr_AmiAi3_Func007Func005C takes nothing returns boolean
if(not(GetRandomInt(1,10)>5))then
return false
endif
return true
endfunction
function Trig_Thr_AmiAi3_Func007C takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(11)))then
return false
endif
if(not(IsUnitType(GetTriggerUnit(),UNIT_TYPE_STRUCTURE)==true))then
return false
endif
if(not(udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+12)]==0))then
return false
endif
return true
endfunction
function Trig_Thr_AmiAi3_Actions takes nothing returns nothing
if(Trig_Thr_AmiAi3_Func001C())then
call KillUnit(udg_M9P2Q7U5l4V15W9O45lO7041D2G5K3[GetConvertedPlayerId(GetOwningPlayer(GetAttacker()))])
call SetPlayerStateBJ(GetOwningPlayer(GetAttacker()),PLAYER_STATE_RESOURCE_GOLD,0)
call QuestMessageBJ(GetPlayersAll(),bj_QUESTMESSAGE_WARNING,("|cffFF0066玩家 "+(GetPlayerName(GetOwningPlayer(GetAttacker()))+" 阴谋造反，攻击盟军要塞，已被处屎！")))
else
endif
if(Trig_Thr_AmiAi3_Func003C())then
if(Trig_Thr_AmiAi3_Func003Func003C())then
call IssueTargetOrder(GetTriggerUnit(),"massteleport",gg_unit_u00B_0268)
call TriggerSleepAction(1.)
call IssuePointOrderLoc(GetTriggerUnit(),"move",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[12])
return
else
if(Trig_Thr_AmiAi3_Func003Func003Func002C())then
set bj_forLoopAIndex=1
set bj_forLoopAIndexEnd=3
loop
exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd
if(Trig_Thr_AmiAi3_Func003Func003Func002Func001Func001C())then
call IssueTargetOrder(udg_M9P2Q7U5l4V5W9O45lO7041D2G5MK3[GetForLoopIndexA()],"massteleport",GetTriggerUnit())
else
endif
set bj_forLoopAIndex=bj_forLoopAIndex+1
endloop
else
endif
return
endif
else
endif
if(Trig_Thr_AmiAi3_Func007C())then
if(Trig_Thr_AmiAi3_Func007Func005C())then
call IssueTargetOrder(gg_unit_u00D_0269,"healingwave",GetAttackedUnitBJ())
else
call IssueTargetOrder(gg_unit_u00D_0309,"healingwave",GetAttackedUnitBJ())
endif
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+12)]=1
call TriggerSleepAction(5.)
set udg_M9P2XQ7U5l4V5W9O45lO7041D2G5K3[((GetConvertedPlayerId(GetOwningPlayer(GetAttackedUnitBJ()))*18)+12)]=0
else
endif
endfunction
function InitTrig_Thr_AmiAi3 takes nothing returns nothing
set gg_trg_Thr_AmiAi3=CreateTrigger()
call DisableTrigger(gg_trg_Thr_AmiAi3)
call TriggerRegisterAnyUnitEventBJ(gg_trg_Thr_AmiAi3,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddAction(gg_trg_Thr_AmiAi3,function Trig_Thr_AmiAi3_Actions)
endfunction
function Trig_Thr_AmiAi4_Conditions takes nothing returns boolean
if(not(GetOwningPlayer(GetTriggerUnit())==Player(11)))then
return false
endif
return true
endfunction
function Trig_Thr_AmiAi4_Actions takes nothing returns nothing
call IssuePointOrderLoc(GetTriggerUnit(),"attack",udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[11])
endfunction
function InitTrig_Thr_AmiAi4 takes nothing returns nothing
set gg_trg_Thr_AmiAi4=CreateTrigger()
call DisableTrigger(gg_trg_Thr_AmiAi4)
call TriggerRegisterAnyUnitEventBJ(gg_trg_Thr_AmiAi4,EVENT_PLAYER_UNIT_SPELL_FINISH)
call TriggerAddCondition(gg_trg_Thr_AmiAi4,Condition(function Trig_Thr_AmiAi4_Conditions))
call TriggerAddAction(gg_trg_Thr_AmiAi4,function Trig_Thr_AmiAi4_Actions)
endfunction
function Trig_Thr_AmiAi5_Conditions takes nothing returns boolean
if(not(GetTriggerUnit()==gg_unit_u00B_0268))then
return false
endif
return true
endfunction
function Trig_Thr_AmiAi5_Actions takes nothing returns nothing
set udg_M9P2Q7U5l4V5W9O45lO7041TD2G5K3[6]=GetRectCenter(gg_rct_______Road008)
call DisableTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Thr_AmiAi5 takes nothing returns nothing
set gg_trg_Thr_AmiAi5=CreateTrigger()
call DisableTrigger(gg_trg_Thr_AmiAi5)
call TriggerRegisterAnyUnitEventBJ(gg_trg_Thr_AmiAi5,EVENT_PLAYER_UNIT_ATTACKED)
call TriggerAddCondition(gg_trg_Thr_AmiAi5,Condition(function Trig_Thr_AmiAi5_Conditions))
call TriggerAddAction(gg_trg_Thr_AmiAi5,function Trig_Thr_AmiAi5_Actions)
endfunction
function InitCustomTriggers takes nothing returns nothing
call InitTrig________________u()
call InitTrig_multiboard2()
call InitTrig_BeiBao2A()
call InitTrig_BeiBao2B()
call InitTrig_help()
call InitTrig_GongZi()
call InitTrig_GongZi2()
call InitTrig_GongZi3()
call InitTrig_PlayerInput()
call InitTrig_PlayerKill()
call InitTrig_PlayerLeave()
call InitTrig_SBBB()
call InitTrig_AI01()
call InitTrig_AI02()
call InitTrig_AI03()
call InitTrig_AI04()
call InitTrig_OgreAdd()
call InitTrig_OgreAdd2()
call InitTrig_OgreAdd4()
call InitTrig_OgreDie()
call InitTrig_HeroUP()
call InitTrig_HeroUP2()
call InitTrig_HeroUP3()
call InitTrig_HeroRelive()
call InitTrig_HeroReliveSelect()
call InitTrig_ZhongLi()
call InitTrig_BossA()
call InitTrig_BossB()
call InitTrig_BossC()
call InitTrig_BossBaWu()
call InitTrig_BossNew()
call InitTrig_XH()
call InitTrig_XH2()
call InitTrig_PetA1()
call InitTrig_PetA2()
call InitTrig_PetB1()
call InitTrig_PetB2()
call InitTrig_PetC1()
call InitTrig_PetD1()
call InitTrig_PetD2()
call InitTrig_PetE1()
call InitTrig_PetF1()
call InitTrig_PetG1()
call InitTrig_PetH1()
call InitTrig_PetI()
call InitTrig_PetJ()
call InitTrig_Ogre_Show()
call InitTrig_Ogre_Show2()
call InitTrig_Ogre_Relive()
call InitTrig_Area_GoBack()
call InitTrig_Hero_type()
call InitTrig_Hero_show()
call InitTrig_Hero_choice()
call InitTrig_Dialog()
call InitTrig_Dialog_select()
call InitTrig_Hero_close()
call InitTrig_Open_Boss()
call InitTrig_Skill1()
call InitTrig_Skill2()
call InitTrig_Skill3()
call InitTrig_Skill4()
call InitTrig_Skill5()
call InitTrig_Skill6()
call InitTrig_Skill7()
call InitTrig_Skill8()
call InitTrig_Skill_buy1()
call InitTrig_Skill_buy2()
call InitTrig_Skill_buy3()
call InitTrig_Skill_buy4()
call InitTrig_Skill_buy5()
call InitTrig_Skill_del()
call InitTrig_Skill_delsave()
call InitTrig_Skill_del2()
call InitTrig_Skill_delsave2()
call InitTrig_Skill_up()
call InitTrig_Skill_upsave()
call InitTrig_Skill_up2()
call InitTrig_Skill_upsave2()
call InitTrig_Hero_move()
call InitTrig_Hero_move2()
call InitTrig_Skill_MQ()
call InitTrig_Skill_MQ2()
call InitTrig_Skill_Esc()
call InitTrig_Itemfrist()
call InitTrig_Itemtype()
call InitTrig_ItemSet()
call InitTrig_ItemUp()
call InitTrig_ItemKey()
call InitTrig_SQ()
call InitTrig_MQ()
call InitTrig_ItemSQ_time()
call InitTrig_Arm0()
call InitTrig_Arm1()
call InitTrig_Arm3()
call InitTrig_Arm4()
call InitTrig_Arm5()
call InitTrig_Ares()
call InitTrig_Ares2()
call InitTrig_Ares3()
call InitTrig_Ares5()
call InitTrig_SQ3()
call InitTrig_G001()
call InitTrig_Die()
call InitTrig_Sec_Login()
call InitTrig_Sec_Start()
call InitTrig_Sec_Ami1()
call InitTrig_SEC_AmiGoIN()
call InitTrig_Sec_XH()
call InitTrig_Sec_Out()
call InitTrig_Sec_GoBack()
call InitTrig_SEC_heroIN()
call InitTrig_Sec_Die()
call InitTrig_Sec_AI()
call InitTrig_Thr_login()
call InitTrig_Thr_Go()
call InitTrig_Thr_AmiMove()
call InitTrig_Thr_Ami()
call InitTrig_Thr_Ami2()
call InitTrig_Thr_Ami3()
call InitTrig_Thr_Ami4()
call InitTrig_Thr_Ami5()
call InitTrig_Thr_Ami6()
call InitTrig_Thr_Ami7()
call InitTrig_Thr_ArmUP()
call InitTrig_Thr_AmiUP()
call InitTrig_Thr_AmiAi1()
call InitTrig_Thr_AmiAi2()
call InitTrig_Thr_AmiAi3()
call InitTrig_Thr_AmiAi4()
call InitTrig_Thr_AmiAi5()
endfunction
function RunInitializationTriggers takes nothing returns nothing
call ConditionalTriggerExecute(gg_trg________________u)
call ConditionalTriggerExecute(gg_trg_BeiBao2A)
call ConditionalTriggerExecute(gg_trg_help)
call ConditionalTriggerExecute(gg_trg_PetA1)
call ConditionalTriggerExecute(gg_trg_Ogre_Show)
call ConditionalTriggerExecute(gg_trg_Ogre_Show2)
call ConditionalTriggerExecute(gg_trg_Hero_type)
call ConditionalTriggerExecute(gg_trg_Skill1)
call ConditionalTriggerExecute(gg_trg_Skill2)
call ConditionalTriggerExecute(gg_trg_Skill3)
call ConditionalTriggerExecute(gg_trg_Skill4)
call ConditionalTriggerExecute(gg_trg_Skill5)
call ConditionalTriggerExecute(gg_trg_Skill6)
call ConditionalTriggerExecute(gg_trg_Skill7)
call ConditionalTriggerExecute(gg_trg_Skill8)
call ConditionalTriggerExecute(gg_trg_Itemtype)
call ConditionalTriggerExecute(gg_trg_ItemSet)
call ConditionalTriggerExecute(gg_trg_Sec_Login)
call ConditionalTriggerExecute(gg_trg_Thr_login)
endfunction
function InitCustomPlayerSlots takes nothing returns nothing
call SetPlayerStartLocation(Player(0),0)
call ForcePlayerStartLocation(Player(0),0)
call SetPlayerColor(Player(0),ConvertPlayerColor(0))
call SetPlayerRacePreference(Player(0),RACE_PREF_NIGHTELF)
call SetPlayerRaceSelectable(Player(0),false)
call SetPlayerController(Player(0),MAP_CONTROL_USER)
call SetPlayerStartLocation(Player(1),1)
call ForcePlayerStartLocation(Player(1),1)
call SetPlayerColor(Player(1),ConvertPlayerColor(1))
call SetPlayerRacePreference(Player(1),RACE_PREF_NIGHTELF)
call SetPlayerRaceSelectable(Player(1),false)
call SetPlayerController(Player(1),MAP_CONTROL_USER)
call SetPlayerStartLocation(Player(2),2)
call ForcePlayerStartLocation(Player(2),2)
call SetPlayerColor(Player(2),ConvertPlayerColor(2))
call SetPlayerRacePreference(Player(2),RACE_PREF_NIGHTELF)
call SetPlayerRaceSelectable(Player(2),false)
call SetPlayerController(Player(2),MAP_CONTROL_USER)
call SetPlayerStartLocation(Player(3),3)
call ForcePlayerStartLocation(Player(3),3)
call SetPlayerColor(Player(3),ConvertPlayerColor(3))
call SetPlayerRacePreference(Player(3),RACE_PREF_NIGHTELF)
call SetPlayerRaceSelectable(Player(3),false)
call SetPlayerController(Player(3),MAP_CONTROL_USER)
call SetPlayerStartLocation(Player(4),4)
call ForcePlayerStartLocation(Player(4),4)
call SetPlayerColor(Player(4),ConvertPlayerColor(4))
call SetPlayerRacePreference(Player(4),RACE_PREF_NIGHTELF)
call SetPlayerRaceSelectable(Player(4),false)
call SetPlayerController(Player(4),MAP_CONTROL_USER)
call SetPlayerStartLocation(Player(5),5)
call ForcePlayerStartLocation(Player(5),5)
call SetPlayerColor(Player(5),ConvertPlayerColor(5))
call SetPlayerRacePreference(Player(5),RACE_PREF_NIGHTELF)
call SetPlayerRaceSelectable(Player(5),false)
call SetPlayerController(Player(5),MAP_CONTROL_USER)
call SetPlayerStartLocation(Player(6),6)
call ForcePlayerStartLocation(Player(6),6)
call SetPlayerColor(Player(6),ConvertPlayerColor(6))
call SetPlayerRacePreference(Player(6),RACE_PREF_NIGHTELF)
call SetPlayerRaceSelectable(Player(6),false)
call SetPlayerController(Player(6),MAP_CONTROL_USER)
call SetPlayerStartLocation(Player(10),7)
call ForcePlayerStartLocation(Player(10),7)
call SetPlayerColor(Player(10),ConvertPlayerColor(10))
call SetPlayerRacePreference(Player(10),RACE_PREF_NIGHTELF)
call SetPlayerRaceSelectable(Player(10),false)
call SetPlayerController(Player(10),MAP_CONTROL_COMPUTER)
call SetPlayerStartLocation(Player(11),8)
call ForcePlayerStartLocation(Player(11),8)
call SetPlayerColor(Player(11),ConvertPlayerColor(11))
call SetPlayerRacePreference(Player(11),RACE_PREF_UNDEAD)
call SetPlayerRaceSelectable(Player(11),false)
call SetPlayerController(Player(11),MAP_CONTROL_COMPUTER)
endfunction
function InitCustomTeams takes nothing returns nothing
call SetPlayerTeam(Player(0),0)
call SetPlayerTeam(Player(1),0)
call SetPlayerTeam(Player(2),0)
call SetPlayerTeam(Player(3),0)
call SetPlayerTeam(Player(4),0)
call SetPlayerTeam(Player(5),0)
call SetPlayerTeam(Player(6),0)
call SetPlayerTeam(Player(10),0)
call SetPlayerAllianceStateAllyBJ(Player(0),Player(1),true)
call SetPlayerAllianceStateAllyBJ(Player(0),Player(2),true)
call SetPlayerAllianceStateAllyBJ(Player(0),Player(3),true)
call SetPlayerAllianceStateAllyBJ(Player(0),Player(4),true)
call SetPlayerAllianceStateAllyBJ(Player(0),Player(5),true)
call SetPlayerAllianceStateAllyBJ(Player(0),Player(6),true)
call SetPlayerAllianceStateAllyBJ(Player(0),Player(10),true)
call SetPlayerAllianceStateAllyBJ(Player(1),Player(0),true)
call SetPlayerAllianceStateAllyBJ(Player(1),Player(2),true)
call SetPlayerAllianceStateAllyBJ(Player(1),Player(3),true)
call SetPlayerAllianceStateAllyBJ(Player(1),Player(4),true)
call SetPlayerAllianceStateAllyBJ(Player(1),Player(5),true)
call SetPlayerAllianceStateAllyBJ(Player(1),Player(6),true)
call SetPlayerAllianceStateAllyBJ(Player(1),Player(10),true)
call SetPlayerAllianceStateAllyBJ(Player(2),Player(0),true)
call SetPlayerAllianceStateAllyBJ(Player(2),Player(1),true)
call SetPlayerAllianceStateAllyBJ(Player(2),Player(3),true)
call SetPlayerAllianceStateAllyBJ(Player(2),Player(4),true)
call SetPlayerAllianceStateAllyBJ(Player(2),Player(5),true)
call SetPlayerAllianceStateAllyBJ(Player(2),Player(6),true)
call SetPlayerAllianceStateAllyBJ(Player(2),Player(10),true)
call SetPlayerAllianceStateAllyBJ(Player(3),Player(0),true)
call SetPlayerAllianceStateAllyBJ(Player(3),Player(1),true)
call SetPlayerAllianceStateAllyBJ(Player(3),Player(2),true)
call SetPlayerAllianceStateAllyBJ(Player(3),Player(4),true)
call SetPlayerAllianceStateAllyBJ(Player(3),Player(5),true)
call SetPlayerAllianceStateAllyBJ(Player(3),Player(6),true)
call SetPlayerAllianceStateAllyBJ(Player(3),Player(10),true)
call SetPlayerAllianceStateAllyBJ(Player(4),Player(0),true)
call SetPlayerAllianceStateAllyBJ(Player(4),Player(1),true)
call SetPlayerAllianceStateAllyBJ(Player(4),Player(2),true)
call SetPlayerAllianceStateAllyBJ(Player(4),Player(3),true)
call SetPlayerAllianceStateAllyBJ(Player(4),Player(5),true)
call SetPlayerAllianceStateAllyBJ(Player(4),Player(6),true)
call SetPlayerAllianceStateAllyBJ(Player(4),Player(10),true)
call SetPlayerAllianceStateAllyBJ(Player(5),Player(0),true)
call SetPlayerAllianceStateAllyBJ(Player(5),Player(1),true)
call SetPlayerAllianceStateAllyBJ(Player(5),Player(2),true)
call SetPlayerAllianceStateAllyBJ(Player(5),Player(3),true)
call SetPlayerAllianceStateAllyBJ(Player(5),Player(4),true)
call SetPlayerAllianceStateAllyBJ(Player(5),Player(6),true)
call SetPlayerAllianceStateAllyBJ(Player(5),Player(10),true)
call SetPlayerAllianceStateAllyBJ(Player(6),Player(0),true)
call SetPlayerAllianceStateAllyBJ(Player(6),Player(1),true)
call SetPlayerAllianceStateAllyBJ(Player(6),Player(2),true)
call SetPlayerAllianceStateAllyBJ(Player(6),Player(3),true)
call SetPlayerAllianceStateAllyBJ(Player(6),Player(4),true)
call SetPlayerAllianceStateAllyBJ(Player(6),Player(5),true)
call SetPlayerAllianceStateAllyBJ(Player(6),Player(10),true)
call SetPlayerAllianceStateAllyBJ(Player(10),Player(0),true)
call SetPlayerAllianceStateAllyBJ(Player(10),Player(1),true)
call SetPlayerAllianceStateAllyBJ(Player(10),Player(2),true)
call SetPlayerAllianceStateAllyBJ(Player(10),Player(3),true)
call SetPlayerAllianceStateAllyBJ(Player(10),Player(4),true)
call SetPlayerAllianceStateAllyBJ(Player(10),Player(5),true)
call SetPlayerAllianceStateAllyBJ(Player(10),Player(6),true)
call SetPlayerAllianceStateVisionBJ(Player(0),Player(1),true)
call SetPlayerAllianceStateVisionBJ(Player(0),Player(2),true)
call SetPlayerAllianceStateVisionBJ(Player(0),Player(3),true)
call SetPlayerAllianceStateVisionBJ(Player(0),Player(4),true)
call SetPlayerAllianceStateVisionBJ(Player(0),Player(5),true)
call SetPlayerAllianceStateVisionBJ(Player(0),Player(6),true)
call SetPlayerAllianceStateVisionBJ(Player(0),Player(10),true)
call SetPlayerAllianceStateVisionBJ(Player(1),Player(0),true)
call SetPlayerAllianceStateVisionBJ(Player(1),Player(2),true)
call SetPlayerAllianceStateVisionBJ(Player(1),Player(3),true)
call SetPlayerAllianceStateVisionBJ(Player(1),Player(4),true)
call SetPlayerAllianceStateVisionBJ(Player(1),Player(5),true)
call SetPlayerAllianceStateVisionBJ(Player(1),Player(6),true)
call SetPlayerAllianceStateVisionBJ(Player(1),Player(10),true)
call SetPlayerAllianceStateVisionBJ(Player(2),Player(0),true)
call SetPlayerAllianceStateVisionBJ(Player(2),Player(1),true)
call SetPlayerAllianceStateVisionBJ(Player(2),Player(3),true)
call SetPlayerAllianceStateVisionBJ(Player(2),Player(4),true)
call SetPlayerAllianceStateVisionBJ(Player(2),Player(5),true)
call SetPlayerAllianceStateVisionBJ(Player(2),Player(6),true)
call SetPlayerAllianceStateVisionBJ(Player(2),Player(10),true)
call SetPlayerAllianceStateVisionBJ(Player(3),Player(0),true)
call SetPlayerAllianceStateVisionBJ(Player(3),Player(1),true)
call SetPlayerAllianceStateVisionBJ(Player(3),Player(2),true)
call SetPlayerAllianceStateVisionBJ(Player(3),Player(4),true)
call SetPlayerAllianceStateVisionBJ(Player(3),Player(5),true)
call SetPlayerAllianceStateVisionBJ(Player(3),Player(6),true)
call SetPlayerAllianceStateVisionBJ(Player(3),Player(10),true)
call SetPlayerAllianceStateVisionBJ(Player(4),Player(0),true)
call SetPlayerAllianceStateVisionBJ(Player(4),Player(1),true)
call SetPlayerAllianceStateVisionBJ(Player(4),Player(2),true)
call SetPlayerAllianceStateVisionBJ(Player(4),Player(3),true)
call SetPlayerAllianceStateVisionBJ(Player(4),Player(5),true)
call SetPlayerAllianceStateVisionBJ(Player(4),Player(6),true)
call SetPlayerAllianceStateVisionBJ(Player(4),Player(10),true)
call SetPlayerAllianceStateVisionBJ(Player(5),Player(0),true)
call SetPlayerAllianceStateVisionBJ(Player(5),Player(1),true)
call SetPlayerAllianceStateVisionBJ(Player(5),Player(2),true)
call SetPlayerAllianceStateVisionBJ(Player(5),Player(3),true)
call SetPlayerAllianceStateVisionBJ(Player(5),Player(4),true)
call SetPlayerAllianceStateVisionBJ(Player(5),Player(6),true)
call SetPlayerAllianceStateVisionBJ(Player(5),Player(10),true)
call SetPlayerAllianceStateVisionBJ(Player(6),Player(0),true)
call SetPlayerAllianceStateVisionBJ(Player(6),Player(1),true)
call SetPlayerAllianceStateVisionBJ(Player(6),Player(2),true)
call SetPlayerAllianceStateVisionBJ(Player(6),Player(3),true)
call SetPlayerAllianceStateVisionBJ(Player(6),Player(4),true)
call SetPlayerAllianceStateVisionBJ(Player(6),Player(5),true)
call SetPlayerAllianceStateVisionBJ(Player(6),Player(10),true)
call SetPlayerAllianceStateVisionBJ(Player(10),Player(0),true)
call SetPlayerAllianceStateVisionBJ(Player(10),Player(1),true)
call SetPlayerAllianceStateVisionBJ(Player(10),Player(2),true)
call SetPlayerAllianceStateVisionBJ(Player(10),Player(3),true)
call SetPlayerAllianceStateVisionBJ(Player(10),Player(4),true)
call SetPlayerAllianceStateVisionBJ(Player(10),Player(5),true)
call SetPlayerAllianceStateVisionBJ(Player(10),Player(6),true)
call SetPlayerTeam(Player(11),1)
endfunction
function InitAllyPriorities takes nothing returns nothing
call SetStartLocPrioCount(0,6)
call SetStartLocPrio(0,0,1,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(0,1,2,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(0,2,3,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(0,3,4,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(0,4,5,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(0,5,6,MAP_LOC_PRIO_HIGH)
call SetStartLocPrioCount(1,6)
call SetStartLocPrio(1,0,0,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(1,1,2,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(1,2,3,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(1,3,4,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(1,4,5,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(1,5,6,MAP_LOC_PRIO_HIGH)
call SetStartLocPrioCount(2,6)
call SetStartLocPrio(2,0,0,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(2,1,1,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(2,2,3,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(2,3,4,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(2,4,5,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(2,5,6,MAP_LOC_PRIO_HIGH)
call SetStartLocPrioCount(3,6)
call SetStartLocPrio(3,0,0,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(3,1,1,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(3,2,2,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(3,3,4,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(3,4,5,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(3,5,6,MAP_LOC_PRIO_HIGH)
call SetStartLocPrioCount(4,6)
call SetStartLocPrio(4,0,0,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(4,1,1,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(4,2,2,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(4,3,3,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(4,4,5,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(4,5,6,MAP_LOC_PRIO_HIGH)
call SetStartLocPrioCount(5,6)
call SetStartLocPrio(5,0,0,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(5,1,1,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(5,2,2,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(5,3,3,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(5,4,4,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(5,5,6,MAP_LOC_PRIO_HIGH)
call SetStartLocPrioCount(6,6)
call SetStartLocPrio(6,0,0,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(6,1,1,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(6,2,2,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(6,3,3,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(6,4,4,MAP_LOC_PRIO_HIGH)
call SetStartLocPrio(6,5,5,MAP_LOC_PRIO_HIGH)
endfunction
function main takes nothing returns nothing
call SetCameraBounds(-2048.+GetCameraMargin(CAMERA_MARGIN_LEFT),-22528.+GetCameraMargin(CAMERA_MARGIN_BOTTOM),22528.-GetCameraMargin(CAMERA_MARGIN_RIGHT),2048.-GetCameraMargin(CAMERA_MARGIN_TOP),-2048.+GetCameraMargin(CAMERA_MARGIN_LEFT),2048.-GetCameraMargin(CAMERA_MARGIN_TOP),22528.-GetCameraMargin(CAMERA_MARGIN_RIGHT),-22528.+GetCameraMargin(CAMERA_MARGIN_BOTTOM))
call SetDayNightModels("Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl","Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl")
call SetTerrainFogEx(0,3000.,5000.,10.,.0,.0,.0)
call SetWaterBaseColor(0,255,0,255)
call NewSoundEnvironment("Default")
call SetAmbientDaySound("LordaeronWinterDay")
call SetAmbientNightSound("LordaeronWinterNight")
call SetMapMusic("Music",true,0)
call InitSounds()
call CreateRegions()
call CreateAllUnits()
call InitBlizzard()
call InitGlobals()
call InitCustomTriggers()
call RunInitializationTriggers()
call CreateDestructableZ('B007',13856,-2784,45.27,270,1.04,1)
call CreateDestructable('B00A',1056,1568,270,.96,0)
call CreateDestructableZ('B00A',10592,-3040,138.45,270,1.05,1)
call CreateDestructableZ('B00A',10720,-3232,235.77,270,1.07,0)
call CreateDestructableZ('B007',14112,-2656,108.91,270,.91,2)
call CreateDestructable('B007',15648,1888,270,1.17,2)
call CreateDestructableZ('B007',20000,-11808,109.61,270,.81,2)
call CreateDestructableZ('B007',14304,-5216,452.81,270,.99,1)
call CreateDestructable('B007',15840,1888,270,.92,2)
call CreateDestructable('B007',16096,1888,270,.83,1)
call CreateDestructableZ('B007',20064,-11616,31.37,270,1.03,2)
call CreateDestructableZ('B007',20064,-11488,14.44,270,1.17,2)
call CreateDestructableZ('B007',19936,-11232,17.89,270,.95,1)
call CreateDestructableZ('B007',19936,-11040,45.88,270,.94,0)
call CreateDestructable('B00A',3040,-11552,270,1.16,2)
call CreateDestructable('B007',16224,1888,270,.83,2)
call CreateDestructableZ('B00A',480,-9696,40.73,270,1.2,0)
call CreateDestructableZ('B007',16096,-9568,135.28,270,.82,1)
call CreateDestructableZ('B007',15584,-10336,220.14,270,1.04,1)
call CreateDestructable('B007',16160,1888,270,1.13,1)
call CreateDestructableZ('B00A',-1120,1888,29.58,270,.81,2)
call CreateDestructable('B007',16032,1888,270,.87,0)
call CreateDestructableZ('B00A',5984,-5536,25.89,270,.85,0)
call CreateDestructableZ('B00A',5728,-5536,-54.02,270,1.08,0)
call CreateDestructableZ('B00A',6112,-5088,30.84,270,1.06,2)
call CreateDestructable('B007',15712,1888,270,1.17,1)
call CreateDestructable('B007',15520,1824,270,1.05,1)
call CreateDestructable('B007',15136,1952,270,.96,2)
call CreateDestructable('B007',15136,2016,270,.94,0)
call CreateDestructableZ('B007',15712,-10272,133.03,270,1.04,0)
call CreateDestructable('B007',14944,1952,270,1.1,0)
call CreateDestructable('B007',14944,1824,270,.88,1)
call CreateDestructableZ('B007',15712,-10208,191.34,270,1.09,2)
call CreateDestructableZ('B007',15904,-10080,195.03,270,.81,1)
call CreateDestructable('B007',15328,1952,270,.91,2)
call CreateDestructable('B007',15456,1952,270,1.01,0)
call CreateDestructableZ('B007',15776,-10144,169.48,270,1,2)
call CreateDestructable('B007',15392,1952,270,1,1)
call CreateDestructable('B007',15072,1952,270,1.1,1)
call CreateDestructable('B007',14816,1952,270,.85,1)
call CreateDestructableZ('B00A',-352,-8992,230.92,270,1.2,0)
call CreateDestructableZ('B00A',-416,-8672,124.98,270,1.2,0)
call CreateDestructableZ('B007',15776,-10080,239.19,270,1.11,2)
call CreateDestructableZ('B00A',-1696,-11680,228.69,270,.84,0)
call CreateDestructableZ('B00A',-1376,-11552,197.2,270,.87,1)
call CreateDestructableZ('B00A',-928,-11360,81.61,270,1.02,0)
call CreateDestructableZ('B00A',-800,-11168,20.89,270,.92,0)
call CreateDestructableZ('B00A',-736,-11104,16.28,270,1.15,1)
call CreateDestructableZ('B00A',-992,-11296,75.73,270,.99,1)
call CreateDestructableZ('B00A',-1504,-11680,212.97,270,1.13,0)
call CreateDestructableZ('B00A',-1568,-11744,200.55,270,.97,2)
call CreateDestructableZ('B00A',-1568,-11680,220.27,270,1.02,0)
call CreateDestructableZ('B00A',-1248,-11424,155.81,270,1.07,1)
call CreateDestructableZ('B00A',-864,-11360,79.33,270,1.14,1)
call CreateDestructableZ('B00A',-1056,-11552,50.63,270,.87,1)
call CreateDestructableZ('B00A',-1184,-11552,87.84,270,.88,0)
call CreateDestructableZ('B00A',-992,-11488,70.2,270,1.17,2)
call CreateDestructableZ('B00A',-672,-11296,78.55,270,1.19,1)
call CreateDestructableZ('B00A',-544,-11488,272.03,270,1.18,0)
call CreateDestructableZ('B00A',-736,-11552,96.41,270,.86,2)
call CreateDestructableZ('B00A',-1696,-11744,220.19,270,1.12,2)
call CreateDestructableZ('B00A',-2016,-11680,251.56,270,.96,1)
call CreateDestructableZ('B00A',-2016,-11616,201.92,270,.97,0)
call CreateDestructableZ('B00A',-1824,-11488,108.67,270,.99,2)
call CreateDestructableZ('B00A',-1504,-11424,155.12,270,1.09,1)
call CreateDestructableZ('B00A',-1888,-11616,263.69,270,.81,1)
call CreateDestructableZ('B00A',-544,-11296,121.37,270,.89,2)
call CreateDestructableZ('B00A',-288,-11296,243.34,270,1,0)
call CreateDestructableZ('B00A',-32,-11168,143.78,270,.95,0)
call CreateDestructableZ('B00A',-96,-11296,244.98,270,.88,1)
call CreateDestructableZ('B00A',-288,-11552,217.92,270,1.19,2)
call CreateDestructableZ('B00A',-480,-11552,293.77,270,1,1)
call CreateDestructableZ('B00A',-480,-11488,296.87,270,1.14,1)
call CreateDestructableZ('B00A',-352,-11360,243.72,270,.99,1)
call CreateDestructableZ('B00A',-608,-11552,216.41,270,.93,0)
call CreateDestructableZ('B00A',480,-11488,76.97,270,1.09,2)
call CreateDestructableZ('B00A',608,-11616,194.12,270,1.06,2)
call CreateDestructableZ('B00A',416,-11616,102.62,270,.83,2)
call CreateDestructableZ('B00A',352,-11552,79.98,270,1.15,0)
call CreateDestructableZ('B00A',288,-11552,76.08,270,1.05,0)
call CreateDestructableZ('B00A',288,-11616,61.73,270,.81,1)
call CreateDestructableZ('B00A',608,-11552,170,270,.91,2)
call CreateDestructableZ('B00A',480,-11616,134.25,270,1.19,1)
call CreateDestructableZ('B00A',352,-11680,68.42,270,1.03,1)
call CreateDestructableZ('B00A',480,-11680,139.02,270,1.13,1)
call CreateDestructableZ('B00A',416,-11744,81.27,270,.92,1)
call CreateDestructableZ('B00A',544,-11744,145.94,270,.84,2)
call CreateDestructableZ('B00A',480,-11808,92.72,270,.86,0)
call CreateDestructableZ('B00A',672,-11808,99.28,270,.83,1)
call CreateDestructableZ('B00A',992,-11552,209.12,270,1.06,2)
call CreateDestructableZ('B00A',1056,-11552,174.56,270,1.12,0)
call CreateDestructableZ('B00A',800,-11680,155.14,270,.85,0)
call CreateDestructableZ('B00A',480,-11872,51.41,270,1.16,0)
call CreateDestructableZ('B00A',672,-11744,142.39,270,1.02,2)
call CreateDestructableZ('B00A',1056,-11488,217.55,270,.93,2)
call CreateDestructableZ('B00A',1120,-11488,179.39,270,1.18,1)
call CreateDestructableZ('B00A',928,-11616,173.5,270,1.05,2)
call CreateDestructableZ('B00A',928,-96,109.53,270,.83,1)
call CreateDestructable('B00A',480,-10848,270,1.19,1)
call CreateDestructableZ('B00A',480,-10912,.52,270,1.14,0)
call CreateDestructableZ('B00A',416,-10912,1.55,270,1.17,2)
call CreateDestructableZ('B00A',1056,-14240,507.47,270,.99,0)
call CreateDestructableZ('B00A',5984,-13600,106.39,270,1.14,1)
call CreateDestructableZ('B00A',4960,-14304,44.42,270,.87,1)
call CreateDestructable('B00A',-416,-14304,270,.93,0)
call CreateDestructableZ('B00A',5152,-13856,22.66,270,.88,1)
call CreateDestructable('B00A',96,-14304,270,.99,0)
call CreateDestructableZ('B00A',352,-14304,-.05,270,.97,0)
call CreateDestructableZ('B00A',5664,-14304,134.72,270,1.17,0)
call CreateDestructable('B00A',864,-10848,270,1.07,1)
call CreateDestructable('B00A',608,-10848,270,.91,0)
call CreateDestructable('B00A',544,-10848,270,.88,2)
call CreateDestructable('B00A',672,-10912,270,1,2)
call CreateDestructable('B00A',672,-10976,270,.92,2)
call CreateDestructable('B00A',736,-10976,270,.95,0)
call CreateDestructable('B00A',1696,-11744,270,.92,1)
call CreateDestructable('B00A',1824,-11680,270,.83,2)
call CreateDestructable('B00A',1888,-11488,270,.93,0)
call CreateDestructable('B00A',1888,-11360,270,.94,0)
call CreateDestructable('B00A',1888,-11232,270,.84,2)
call CreateDestructable('B00A',1824,-11168,270,1.02,0)
call CreateDestructable('B00A',1632,-10976,270,.84,1)
call CreateDestructable('B00A',1440,-10848,270,1.03,1)
call CreateDestructable('B00A',1376,-10848,270,.99,1)
call CreateDestructable('B00A',1376,-10784,270,.93,1)
call CreateDestructable('B00A',1568,-10848,270,1.12,2)
call CreateDestructable('B00A',1760,-11168,270,1,2)
call CreateDestructable('B00A',1888,-11424,270,1.17,1)
call CreateDestructable('B00A',2016,-11168,270,1.06,2)
call CreateDestructable('B00A',1952,-11296,270,1.05,0)
call CreateDestructable('B00A',2080,-11232,270,.95,2)
call CreateDestructable('B00A',2144,-11040,270,1,1)
call CreateDestructable('B00A',2144,-10848,270,1.04,0)
call CreateDestructable('B00A',2144,-10784,270,.88,0)
call CreateDestructable('B00A',2208,-10976,270,1.2,1)
call CreateDestructable('B00A',2208,-11104,270,.81,0)
call CreateDestructable('B00A',2144,-11104,270,.87,2)
call CreateDestructable('B00A',2144,-10912,270,1.14,1)
call CreateDestructable('B00A',2080,-11680,270,1.02,2)
call CreateDestructable('B00A',2144,-11744,270,1.01,2)
call CreateDestructable('B00A',2400,-11808,270,.98,2)
call CreateDestructable('B00A',2528,-11744,270,.88,0)
call CreateDestructable('B00A',2592,-11616,270,1,1)
call CreateDestructable('B00A',2656,-11616,270,1.07,0)
call CreateDestructable('B00A',2656,-11680,270,1,1)
call CreateDestructable('B00A',2784,-11680,270,1.09,0)
call CreateDestructable('B00A',2848,-11616,270,1.08,1)
call CreateDestructable('B00A',2080,-11616,270,.9,1)
call CreateDestructable('B00A',2016,-11616,270,1.13,2)
call CreateDestructable('B00A',2016,-11680,270,1.08,0)
call CreateDestructable('B00A',2016,-11744,270,.96,2)
call CreateDestructable('B00A',2080,-11744,270,1.03,2)
call CreateDestructable('B00A',2912,-11552,270,1.09,2)
call CreateDestructable('B00A',3040,-11488,270,1.05,2)
call CreateDestructable('B00A',3040,-11360,270,.88,1)
call CreateDestructable('B00A',3552,-11168,270,1.19,2)
call CreateDestructable('B00A',3424,-11040,270,.85,1)
call CreateDestructable('B00A',3360,-10912,270,.98,2)
call CreateDestructable('B00A',3488,-10784,270,.89,2)
call CreateDestructable('B00A',3616,-11168,270,.91,2)
call CreateDestructable('B00A',3616,-11296,270,.94,0)
call CreateDestructable('B00A',3680,-11232,270,1.05,1)
call CreateDestructable('B00A',3808,-11168,270,1.2,1)
call CreateDestructable('B00A',3808,-11104,270,.86,1)
call CreateDestructable('B00A',3744,-10976,270,1.06,2)
call CreateDestructable('B00A',3680,-10848,270,.81,1)
call CreateDestructable('B00A',3424,-10592,270,1.19,2)
call CreateDestructable('B00A',3296,-10464,270,.87,1)
call CreateDestructable('B00A',3168,-10400,270,1.01,1)
call CreateDestructable('B00A',3168,-10528,270,1.07,1)
call CreateDestructable('B00A',2976,-10528,270,1.18,1)
call CreateDestructable('B00A',2912,-10528,270,1.05,2)
call CreateDestructable('B00A',2848,-10720,270,1.14,0)
call CreateDestructable('B00A',2848,-10784,270,1.15,1)
call CreateDestructable('B00A',2784,-10784,270,.87,2)
call CreateDestructable('B00A',2784,-10848,270,.87,2)
call CreateDestructable('B00A',2848,-10848,270,.96,1)
call CreateDestructable('B00A',3168,-11360,270,.84,2)
call CreateDestructable('B00A',3296,-11296,270,.85,1)
call CreateDestructable('B00A',3488,-11296,270,.93,2)
call CreateDestructable('B00A',3936,-10976,270,1.11,0)
call CreateDestructable('B00A',4000,-10912,270,.98,1)
call CreateDestructable('B009',18016,-12064,270,1.04,1)
call CreateDestructable('B009',18272,-11744,270,1.15,1)
call CreateDestructable('B009',19040,-13024,270,.9,2)
call CreateDestructable('B00A',4000,-10848,270,1.12,1)
call CreateDestructable('B00A',4064,-10784,270,.82,1)
call CreateDestructable('B009',19232,-13280,270,1.04,0)
call CreateDestructable('B009',19232,-13024,270,1.03,1)
call CreateDestructable('B009',19360,-13024,270,1,1)
call CreateDestructable('B009',19872,-13600,270,.94,2)
call CreateDestructableZ('B00A',1504,-13472,388.58,270,1.17,2)
call CreateDestructableZ('B009',19872,-13920,4.44,270,1.01,0)
call CreateDestructableZ('B009',19872,-13856,3.06,270,1.14,0)
call CreateDestructableZ('B009',19872,-13792,1.78,270,.88,1)
call CreateDestructable('B009',19936,-13664,270,1.1,2)
call CreateDestructableZ('B009',20064,-13600,1.78,270,.89,0)
call CreateDestructableZ('B009',20192,-13600,8,270,1.03,0)
call CreateDestructableZ('B009',20384,-13088,77.11,270,.95,2)
call CreateDestructableZ('B009',18016,-14240,404.64,270,.92,2)
call CreateDestructableZ('B009',18016,-14176,457.78,270,.85,1)
call CreateDestructable('B007',17952,-9184,270,.81,0)
call CreateDestructable('B007',18080,-9120,270,.94,0)
call CreateDestructable('B007',18144,-9184,270,.91,1)
call CreateDestructable('B007',18144,-9248,270,.95,1)
call CreateDestructable('B007',18016,-9376,270,.83,1)
call CreateDestructable('B007',17824,-9440,270,1.16,0)
call CreateDestructable('B007',17696,-9504,270,1.1,2)
call CreateDestructable('B007',17632,-9696,270,.87,1)
call CreateDestructable('B007',17696,-9824,270,1.05,0)
call CreateDestructable('B007',17824,-9888,270,.9,1)
call CreateDestructable('B007',17952,-9888,270,.83,2)
call CreateDestructable('B007',18016,-9888,270,1.16,2)
call CreateDestructable('B007',18080,-9888,270,.86,1)
call CreateDestructable('B007',18016,-9824,270,1.05,2)
call CreateDestructable('B007',18144,-9888,270,1.11,0)
call CreateDestructable('B007',17632,-9760,270,1.18,0)
call CreateDestructable('B00A',2592,-9120,270,.81,1)
call CreateDestructable('B00A',2528,-9184,270,1.14,0)
call CreateDestructable('B00A',2464,-9376,270,1.15,0)
call CreateDestructable('B00A',2400,-9376,270,1.13,2)
call CreateDestructable('B00A',2336,-9440,270,1.11,2)
call CreateDestructable('B00A',2336,-9504,270,1.17,0)
call CreateDestructable('B00A',2272,-9504,270,1.05,0)
call CreateDestructable('B00A',800,-6880,270,1.14,0)
call CreateDestructable('B007',17760,-9504,270,1.18,0)
call CreateDestructable('B007',17632,-9248,270,1.19,1)
call CreateDestructableZ('B00A',3872,-13728,141.72,270,1.19,1)
call CreateDestructableZ('B007',19104,-12064,200.81,270,1,2)
call CreateDestructableZ('B007',19232,-12128,112.8,270,1.05,1)
call CreateDestructableZ('B007',19040,-12192,15.47,270,1.15,2)
call CreateDestructableZ('B007',19680,-12128,181.28,270,1.06,2)
call CreateDestructableZ('B007',20128,-14304,194.41,270,1.04,2)
call CreateDestructableZ('B007',20128,-14240,193.84,270,1.05,1)
call CreateDestructableZ('B007',20128,-14112,163,270,.8,0)
call CreateDestructableZ('B007',20192,-13984,152.66,270,1,1)
call CreateDestructable('B00A',2272,-9120,270,.9,1)
call CreateDestructable('B00A',2336,-9120,270,.98,0)
call CreateDestructable('B00A',2400,-9120,270,.83,0)
call CreateDestructable('B00A',2208,-8992,270,.85,1)
call CreateDestructable('B00A',864,-7200,270,.94,2)
call CreateDestructable('B00A',928,-7072,270,.94,1)
call CreateDestructable('B00A',864,-7136,270,.84,0)
call CreateDestructable('B00A',9056,-1888,270,1,2)
call CreateDestructable('B00A',8864,-2016,270,.99,2)
call CreateDestructable('B00A',1952,-8992,270,.9,0)
call CreateDestructable('B00A',2144,-8992,270,1,1)
call CreateDestructable('B00A',2016,-8992,270,.91,1)
call CreateDestructable('B00A',1824,-9952,270,.86,2)
call CreateDestructable('B00A',1824,-10016,270,.8,2)
call CreateDestructable('B00A',1824,-10080,270,.9,1)
call CreateDestructable('B00A',1824,-10144,270,.9,0)
call CreateDestructable('B00A',1888,-10208,270,.95,0)
call CreateDestructable('B00A',1952,-10208,270,1.15,2)
call CreateDestructable('B00A',2016,-10208,270,1.15,0)
call CreateDestructable('B00A',1888,-10272,270,.89,0)
call CreateDestructable('B00A',1824,-10336,270,.86,2)
call CreateDestructable('B00A',1760,-10400,270,.81,1)
call CreateDestructable('B00A',1568,-9952,270,.91,0)
call CreateDestructable('B00A',8032,-3552,270,.89,0)
call CreateDestructable('B00A',8864,-1824,270,1.1,0)
call CreateDestructable('B00A',1504,-10144,270,.95,2)
call CreateDestructable('B00A',1568,-10208,270,.96,1)
call CreateDestructable('B00A',1632,-10208,270,.95,0)
call CreateDestructable('B00A',736,-6944,270,.86,1)
call CreateDestructable('B00A',864,-6880,270,.86,2)
call CreateDestructable('B007',17952,-9760,270,1.07,0)
call CreateDestructable('B00A',2656,-9056,270,1.13,2)
call CreateDestructable('B00A',2656,-9120,270,.93,1)
call CreateDestructable('B00A',2528,-9120,270,1.05,1)
call CreateDestructableZ('B007',20512,-13664,156.61,270,.98,2)
call CreateDestructableZ('B007',20576,-13344,134.78,270,1.03,0)
call CreateDestructable('B00A',9056,-2080,270,.82,1)
call CreateDestructable('B00A',1120,-9376,270,.96,1)
call CreateDestructable('B00A',992,-9376,270,.93,2)
call CreateDestructable('B00A',992,-9440,270,.96,2)
call CreateDestructableZ('B00A',1440,-13152,93.39,270,1.07,2)
call CreateDestructable('B00A',-96,-14304,270,1.01,2)
call CreateDestructableZ('B00A',5280,-14304,46.88,270,1,0)
call CreateDestructable('B00A',8160,-3424,270,1.17,0)
call CreateDestructableZ('B00A',864,-13536,35,270,1.16,2)
call CreateDestructableZ('B00A',992,-13216,44.63,270,.99,2)
call CreateDestructableZ('B00A',992,-13664,174.16,270,1.03,2)
call CreateDestructableZ('B00A',5408,-13984,70,270,.94,0)
call CreateDestructableZ('B00A',1312,-14304,285.8,270,1.09,0)
call CreateDestructableZ('B00A',1248,-14176,583.73,270,.98,1)
call CreateDestructableZ('B00A',5728,-13856,88.09,270,.81,2)
call CreateDestructableZ('B00A',480,864,94.69,270,.98,0)
call CreateDestructableZ('B00A',-1952,672,106.2,270,1.03,0)
call CreateDestructableZ('B00A',-416,1760,91.83,270,1.01,2)
call CreateDestructableZ('B00A',-2016,-480,13.77,270,.9,1)
call CreateDestructableZ('B00A',-2016,-1376,76.25,270,.87,2)
call CreateDestructableZ('B00A',-1760,-1120,32.34,270,1.14,0)
call CreateDestructableZ('B00A',-2016,-800,29.27,270,.98,2)
call CreateDestructableZ('B00A',-1888,-928,37.34,270,.99,2)
call CreateDestructableZ('B00A',480,928,94.14,270,.93,0)
call CreateDestructableZ('B00A',-352,1952,58.47,270,1.13,1)
call CreateDestructableZ('B00A',-416,1824,72.67,270,.9,2)
call CreateDestructableZ('B00A',-1888,-1504,49.5,270,.97,1)
call CreateDestructableZ('B00A',-1952,-1120,59.78,270,.92,2)
call CreateDestructableZ('B00A',-32,-352,149.19,270,1.01,1)
call CreateDestructableZ('B00A',-32,-416,126.58,270,1.1,1)
call CreateDestructableZ('B00A',96,-416,98.64,270,.89,2)
call CreateDestructableZ('B00A',-160,-352,189.05,270,.8,1)
call CreateDestructableZ('B00A',-96,-544,71.8,270,.87,2)
call CreateDestructableZ('B00A',-224,-480,176.56,270,.8,2)
call CreateDestructableZ('B00A',-992,-11104,4.36,270,1.1,2)
call CreateDestructableZ('B00A',608,-288,205.23,270,.85,2)
call CreateDestructableZ('B00A',32,32,83.62,270,1.06,0)
call CreateDestructableZ('B00A',352,-672,180.97,270,.87,2)
call CreateDestructableZ('B00A',864,-96,131.05,270,1.02,0)
call CreateDestructableZ('B00A',9568,-10848,156.31,270,.84,1)
call CreateDestructableZ('B00A',928,-608,120.17,270,.97,1)
call CreateDestructable('B00A',1056,-928,270,.81,2)
call CreateDestructable('B00A',992,-1056,270,1.18,0)
call CreateDestructableZ('B00A',9440,-10528,325.02,270,1.13,0)
call CreateDestructableZ('B00A',9312,-9056,87.89,270,.88,1)
call CreateDestructableZ('B00A',9184,-9504,271.55,270,1.01,0)
call CreateDestructableZ('B00A',8032,-9248,146.23,270,1.1,2)
call CreateDestructableZ('B00A',7904,-10272,145.16,270,.97,0)
call CreateDestructableZ('B00A',8480,-10528,361.19,270,1.2,2)
call CreateDestructableZ('B00A',-160,1632,65.27,270,.97,1)
call CreateDestructableZ('B00A',-32,1376,93.81,270,1.01,0)
call CreateDestructableZ('B00A',608,-7392,-10.63,270,.91,1)
call CreateDestructableZ('B00A',-224,-7968,-55.55,270,1.2,2)
call CreateDestructableZ('B00A',-288,-7968,-61.64,270,1.13,1)
call CreateDestructableZ('B00A',-480,-7584,-128,270,.95,2)
call CreateDestructableZ('B00A',544,-7392,-31.87,270,.9,2)
call CreateDestructableZ('B00A',544,-7328,-35.63,270,.9,0)
call CreateDestructableZ('B00A',608,-7328,-11.88,270,.81,0)
call CreateDestructable('B00A',864,-7840,270,.9,0)
call CreateDestructable('B00A',800,-7840,270,.84,2)
call CreateDestructableZ('B00A',352,1568,45.06,270,.97,1)
call CreateDestructableZ('B00A',480,-7584,-10.78,270,1,1)
call CreateDestructableZ('B00A',-224,-7904,-87.55,270,1.08,2)
call CreateDestructable('B00A',160,-8160,270,.94,1)
call CreateDestructable('B00A',544,-7840,270,1.05,0)
call CreateDestructable('B00A',608,-8352,270,.85,2)
call CreateDestructable('B00A',416,-7904,270,1.05,0)
call CreateDestructableZ('B00A',352,-7264,-104.45,270,.94,2)
call CreateDestructable('B00A',1184,-8864,270,.86,2)
call CreateDestructable('B00A',1440,-8864,270,1.01,0)
call CreateDestructable('B00A',1568,-9248,270,.86,2)
call CreateDestructable('B00A',1568,-8864,270,.88,1)
call CreateDestructable('B00A',-32,-8160,270,1.2,0)
call CreateDestructable('B00A',224,-8096,270,1.13,1)
call CreateDestructableZ('B00A',-1184,-32,265.89,270,.87,0)
call CreateDestructableZ('B00A',-864,288,87.97,270,.91,2)
call CreateDestructable('B00A',608,-8096,270,.95,2)
call CreateDestructable('B00A',2272,-11744,270,.93,0)
call CreateDestructable('B00A',2272,-11808,270,1.2,1)
call CreateDestructable('B00A',2336,-11808,270,.98,2)
call CreateDestructableZ('B00A',-32,-11360,226.61,270,.94,1)
call CreateDestructableZ('B00A',160,-11424,105.97,270,1.09,1)
call CreateDestructableZ('B00A',736,-608,153.97,270,.92,0)
call CreateDestructableZ('B00A',672,-800,38.25,270,.82,2)
call CreateDestructableZ('B00A',608,-800,70.59,270,.98,1)
call CreateDestructableZ('B00A',32,-352,128.05,270,1.17,1)
call CreateDestructableZ('B00A',-2016,-11744,267.81,270,.88,2)
call CreateDestructableZ('B00A',-1952,-11680,301.19,270,1.09,1)
call CreateDestructableZ('B00A',-1824,-11616,252.31,270,.92,2)
call CreateDestructableZ('B00A',-1568,1952,83.53,270,.93,2)
call CreateDestructable('B00A',352,-8224,270,1.07,0)
call CreateDestructable('B00A',864,-7264,270,1.18,1)
call CreateDestructable('B00A',928,-9632,270,.81,1)
call CreateDestructable('B00A',1056,-9504,270,.82,2)
call CreateDestructable('B00A',1120,-9504,270,1.12,0)
call CreateDestructable('B00A',928,-9568,270,.85,0)
call CreateDestructableZ('B00A',160,32,100.44,270,.93,2)
call CreateDestructableZ('B00A',928,-13856,294.28,270,.86,2)
call CreateDestructable('B00A',1504,-10912,270,1.07,2)
call CreateDestructable('B00A',2080,-10144,270,1.08,0)
call CreateDestructable('B00A',2592,-9184,270,.89,0)
call CreateDestructable('B00A',928,-6944,270,1.16,2)
call CreateDestructable('B00A',928,-6880,270,1.02,2)
call CreateDestructableZ('B007',20576,-13024,283.64,270,1.05,2)
call CreateDestructableZ('B007',20576,-12896,336.97,270,1.15,2)
call CreateDestructable('B009',16288,-10976,270,.95,0)
call CreateDestructable('B009',16416,-10976,270,.86,1)
call CreateDestructable('B009',16480,-11168,270,.92,2)
call CreateDestructable('B009',16224,-11168,270,.87,2)
call CreateDestructableZ('B009',17824,-14176,162.23,270,1.08,0)
call CreateDestructableZ('B009',16288,-13216,35.38,270,.99,1)
call CreateDestructableZ('B009',16416,-13152,124.5,270,1.02,1)
call CreateDestructableZ('B009',16928,-13152,87.67,270,1.07,0)
call CreateDestructableZ('B009',16800,-13152,117.5,270,1.15,1)
call CreateDestructableZ('B009',16672,-13088,247.58,270,1.13,1)
call CreateDestructableZ('B00A',1824,-13984,325.69,270,1.2,1)
call CreateDestructableZ('B009',16608,-13088,280.89,270,.94,0)
call CreateDestructableZ('B009',16544,-12256,110.19,270,1.18,1)
call CreateDestructableZ('B009',16288,-12384,248.2,270,.81,2)
call CreateDestructableZ('B009',16352,-12128,19.5,270,.82,0)
call CreateDestructable('B00A',3872,-10784,270,.93,1)
call CreateDestructable('B00A',3808,-10912,270,.81,1)
call CreateDestructable('B00A',4128,-10784,270,.94,1)
call CreateDestructable('B00A',3296,-11360,270,1.05,2)
call CreateDestructable('B00A',3104,-11488,270,1.11,0)
call CreateDestructableZ('B007',15840,-10016,325.81,270,.86,1)
call CreateDestructable('B007',14624,1952,270,1.11,2)
call CreateDestructable('B007',14240,1888,270,1.04,1)
call CreateDestructableZ('B009',15200,-13024,256.8,270,1.07,2)
call CreateDestructable('B00A',11232,2016,270,1.14,2)
call CreateDestructable('B00A',11232,1952,270,1.13,0)
call CreateDestructable('B00A',11232,1888,270,1.03,0)
call CreateDestructableZ('B007',14176,-5152,438.31,270,1.2,1)
call CreateDestructable('B00A',11232,1824,270,1.07,0)
call CreateDestructable('B00A',11232,1760,270,1.08,2)
call CreateDestructable('B00A',11168,1888,270,1.03,2)
call CreateDestructable('B00A',11104,1888,270,.89,0)
call CreateDestructableZ('B007',14304,-4448,279.62,270,.87,1)
call CreateDestructableZ('B007',14432,-4448,240.84,270,1.15,2)
call CreateDestructableZ('B007',15200,-5152,22.23,270,1.13,1)
call CreateDestructableZ('B007',14560,-4512,223.61,270,1.2,0)
call CreateDestructableZ('B007',14816,-4640,202.73,270,1.17,0)
call CreateDestructableZ('B007',15264,-5344,74.36,270,.99,1)
call CreateDestructableZ('B009',15072,-13024,175.33,270,1.11,0)
call CreateDestructableZ('B007',14752,-4640,261.08,270,.91,2)
call CreateDestructableZ('B007',14752,-4704,389.23,270,1.08,2)
call CreateDestructableZ('B00A',-1760,1376,252.42,270,.99,0)
call CreateDestructableZ('B00A',-544,-2016,3.19,270,.99,2)
call CreateDestructable('B00A',-672,-1952,270,.91,2)
call CreateDestructable('B00A',-1184,-2336,270,.89,0)
call CreateDestructable('B00A',-1248,-2464,270,.81,1)
call CreateDestructable('B00A',-2016,-2400,270,1.16,0)
call CreateDestructable('B00A',-2016,-1888,270,.88,2)
call CreateDestructable('B00A',-1440,-2656,270,.94,0)
call CreateDestructableZ('B009',14688,-12640,694.27,270,.98,1)
call CreateDestructableZ('B009',14496,-12640,649.73,270,1.02,2)
call CreateDestructableZ('B009',14432,-13216,322.36,270,1.01,2)
call CreateDestructableZ('B009',14752,-13024,125.02,270,1,0)
call CreateDestructable('B00A',-1632,-2656,270,.81,1)
call CreateDestructable('B00A',-1440,-2208,270,1.1,0)
call CreateDestructable('B00A',11296,2016,270,.94,2)
call CreateDestructableZ('B00A',416,-1056,102.83,270,.8,2)
call CreateDestructableZ('B009',14688,-12896,362.37,270,.91,2)
call CreateDestructable('B00A',-1440,-1952,270,.82,1)
call CreateDestructableZ('B009',14432,-13088,434.39,270,1.11,1)
call CreateDestructableZ('B009',14432,-12960,535.91,270,1.18,1)
call CreateDestructableZ('B00A',-352,-6048,38.67,270,.88,0)
call CreateDestructable('B00A',10912,2016,270,1.05,0)
call CreateDestructableZ('B00A',1632,-13600,551.09,270,.91,0)
call CreateDestructableZ('B00A',992,-13472,148.09,270,1.13,1)
call CreateDestructableZ('B00A',4128,-13600,120.8,270,.9,0)
call CreateDestructableZ('B00A',3936,-13472,83.58,270,1.04,1)
call CreateDestructableZ('B00A',6112,-13664,60.41,270,.84,1)
call CreateDestructable('B00A',544,-2144,270,1.02,0)
call CreateDestructable('B00A',416,-2336,270,.97,0)
call CreateDestructable('B00A',416,-2528,270,.98,2)
call CreateDestructable('B00A',544,-2656,270,.94,1)
call CreateDestructable('B00A',480,-2784,270,.88,2)
call CreateDestructable('B00A',480,-2848,270,.89,1)
call CreateDestructable('B00A',416,-2912,270,.96,2)
call CreateDestructable('B00A',352,-3040,270,.8,1)
call CreateDestructable('B00A',352,-3168,270,1.07,0)
call CreateDestructable('B00A',288,-3232,270,1,1)
call CreateDestructable('B00A',224,-3296,270,.92,2)
call CreateDestructable('B00A',352,-2080,270,1.13,1)
call CreateDestructable('B00A',96,-2272,270,.82,2)
call CreateDestructable('B00A',32,-2336,270,.85,1)
call CreateDestructable('B00A',-32,-2272,270,1.03,2)
call CreateDestructableZ('B00A',-160,-2144,-.17,270,1.1,0)
call CreateDestructableZ('B00A',-1248,2016,2.81,270,.95,1)
call CreateDestructableZ('B00A',-32,-2144,-.09,270,.82,0)
call CreateDestructableZ('B00A',-96,-2080,-.47,270,1.14,0)
call CreateDestructableZ('B00A',-992,1888,39.77,270,1.11,1)
call CreateDestructableZ('B00A',-480,-2016,5.78,270,1.06,1)
call CreateDestructable('B00A',288,-2208,270,.94,2)
call CreateDestructable('B00A',288,-2656,270,1.09,1)
call CreateDestructable('B00A',32,-2208,270,1.15,2)
call CreateDestructable('B00A',224,-2272,270,1.1,0)
call CreateDestructableZ('B00A',-1760,1696,256.67,270,.99,0)
call CreateDestructable('B00A',160,-2336,270,.81,2)
call CreateDestructable('B00A',416,-2592,270,1.13,2)
call CreateDestructableZ('B00A',9376,-10656,308.8,270,.88,0)
call CreateDestructable('B00A',288,-2784,270,.87,2)
call CreateDestructable('B00A',352,-2784,270,1.15,0)
call CreateDestructable('B00A',672,-4192,270,.94,0)
call CreateDestructable('B00A',-32,-3040,270,.81,0)
call CreateDestructableZ('B009',20832,-14304,571.31,270,.84,1)
call CreateDestructableZ('B009',20640,-14304,706.27,270,.95,1)
call CreateDestructable('B00A',352,-3232,270,.95,0)
call CreateDestructable('B00A',352,-3296,270,.87,1)
call CreateDestructable('B00A',480,-2656,270,.85,0)
call CreateDestructable('B00A',544,-2528,270,1.12,0)
call CreateDestructable('B00A',608,-2080,270,.93,0)
call CreateDestructable('B00A',736,-2016,270,.95,0)
call CreateDestructable('B00A',672,-1952,270,.98,0)
call CreateDestructable('B00A',672,-1888,270,.95,1)
call CreateDestructable('B00A',-1184,-2272,270,1.1,1)
call CreateDestructable('B00A',-1248,-2400,270,.88,1)
call CreateDestructableZ('B00A',-480,2016,30.19,270,.82,1)
call CreateDestructable('B00A',-1120,-2400,270,1.13,1)
call CreateDestructable('B00A',-2016,-2592,270,1.07,2)
call CreateDestructable('B00A',-2016,-2080,270,.89,1)
call CreateDestructable('B00A',-1440,-2848,270,1.12,1)
call CreateDestructable('B00A',-1312,-2528,270,.9,2)
call CreateDestructable('B00A',-1504,-2720,270,1.01,0)
call CreateDestructable('B00A',-1568,-3040,270,1.13,2)
call CreateDestructableZ('B009',21024,-14304,462.86,270,1.11,1)
call CreateDestructable('B00A',-480,-3040,270,.99,0)
call CreateDestructable('B00A',-608,-3616,270,.82,0)
call CreateDestructable('B00A',-480,-3680,270,1.2,1)
call CreateDestructable('B00A',-288,-2848,270,1.11,1)
call CreateDestructableZ('B009',21216,-14304,747.67,270,.84,2)
call CreateDestructable('B00A',-608,-2848,270,1.19,2)
call CreateDestructableZ('B009',21408,-14304,654.98,270,.88,2)
call CreateDestructable('B00A',-672,-3680,270,.96,0)
call CreateDestructable('B00A',-480,-3808,270,1,1)
call CreateDestructable('B00A',-352,-3872,270,1.15,0)
call CreateDestructable('B00A',-288,-3872,270,1.02,1)
call CreateDestructable('B00A',-736,-2016,270,.92,0)
call CreateDestructable('B007',13600,-7648,270,1,1)
call CreateDestructable('B007',13728,-8032,270,1.02,2)
call CreateDestructable('B007',13408,-7904,270,.93,0)
call CreateDestructable('B007',13472,-7520,270,.87,1)
call CreateDestructable('B007',16288,-7584,270,1.07,1)
call CreateDestructable('B007',16672,-8096,270,1.16,1)
call CreateDestructable('B007',16288,-8096,270,.89,0)
call CreateDestructable('B007',16544,-7776,270,1.1,2)
call CreateDestructable('B007',21024,-10464,270,.86,0)
call CreateDestructable('B007',21472,-10464,270,1.04,1)
call CreateDestructable('B007',21344,-10976,270,.96,1)
call CreateDestructable('B007',21088,-10976,270,.98,1)
call CreateDestructable('B00A',-2016,-3872,270,1.04,0)
call CreateDestructable('B007',21216,-10720,270,1.01,0)
call CreateDestructable('B007',18080,-10144,270,1.14,1)
call CreateDestructable('B007',18016,-10144,270,1.09,1)
call CreateDestructable('B007',17952,-10080,270,1.2,0)
call CreateDestructable('B007',17824,-10016,270,.81,0)
call CreateDestructable('B007',17568,-10272,270,.84,0)
call CreateDestructable('B007',17632,-10080,270,.87,0)
call CreateDestructable('B00A',-800,-4128,270,1.11,2)
call CreateDestructableZ('Ytlc',20800,-14400,416,270,1,0)
call CreateDestructable('B00A',-480,-4768,270,1.18,2)
call CreateDestructableZ('Ytlc',20672,-14400,522.44,270,1,0)
call CreateDestructableZ('Ytlc',21312,-14400,616,270,1,0)
call CreateDestructableZ('Ytlc',21184,-14400,514.31,270,1,0)
call CreateDestructableZ('Ytlc',21056,-14400,325.69,270,1,0)
call CreateDestructable('B00A',-672,-4896,270,1.01,0)
call CreateDestructable('B00A',-224,-5408,270,.86,1)
call CreateDestructableZ('Ytlc',21568,-14400,390.56,270,1,0)
call CreateDestructableZ('Ytlc',20928,-14400,303.62,270,1,0)
call CreateDestructable('B00A',-352,-5216,270,.95,2)
call CreateDestructableZ('Ytlc',21696,-14400,295.62,270,1,0)
call CreateDestructable('B00A',-480,-5088,270,.95,0)
call CreateDestructable('B00A',-864,-4768,270,1.18,0)
call CreateDestructable('B00A',-992,-5088,270,.92,2)
call CreateDestructableZ('B00A',-1056,-5152,-9.38,270,1.15,2)
call CreateDestructableZ('B00A',-1184,-5216,-14.77,270,.94,2)
call CreateDestructableZ('B00A',-1248,-5216,-4.92,270,.83,0)
call CreateDestructable('B00A',-1312,-5216,270,1.11,2)
call CreateDestructable('B00A',-1888,-5664,270,.81,2)
call CreateDestructable('B00A',-1824,-5728,270,1.13,0)
call CreateDestructableZ('B00A',-2016,-5984,-14.06,270,1.16,0)
call CreateDestructableZ('B00A',-1824,-5920,-30,270,1.06,0)
call CreateDestructableZ('B00A',-1440,-5664,-34.38,270,.94,1)
call CreateDestructableZ('B00A',-1056,-10528,91.66,270,1.2,0)
call CreateDestructableZ('B00A',-1440,-6048,-56.31,270,.95,2)
call CreateDestructableZ('B00A',-1376,-6176,2.77,270,.87,1)
call CreateDestructableZ('B00A',-1376,-6368,4.87,270,1.08,2)
call CreateDestructableZ('B00A',-1440,-6432,-.05,270,1.14,1)
call CreateDestructableZ('B00A',-1056,-6368,205.28,270,1.19,1)
call CreateDestructableZ('B00A',-928,-6304,125.06,270,.86,1)
call CreateDestructableZ('B00A',-992,-6304,163.19,270,.91,2)
call CreateDestructableZ('B00A',-1184,-6304,112.25,270,.87,1)
call CreateDestructableZ('B00A',-1312,-6304,22.5,270,1.05,1)
call CreateDestructableZ('B00A',-1120,-6304,150.28,270,1.09,0)
call CreateDestructableZ('B00A',-800,-6304,17.5,270,.95,1)
call CreateDestructableZ('B00A',-1504,-6560,3.41,270,1.16,0)
call CreateDestructableZ('B00A',-928,-5600,-128,270,.8,1)
call CreateDestructableZ('B00A',-544,-5664,8.98,270,.96,2)
call CreateDestructableZ('B00A',-544,-6048,-46.84,270,.83,0)
call CreateDestructableZ('B00A',-416,-6112,-39.53,270,1.05,2)
call CreateDestructableZ('B00A',-160,-5920,67.22,270,1.01,0)
call CreateDestructableZ('B00A',-800,-6560,152.75,270,.91,2)
call CreateDestructableZ('Ytlc',20288,-14400,362.62,270,1,0)
call CreateDestructableZ('B00A',-288,-5984,74.45,270,.85,0)
call CreateDestructableZ('B00A',-992,-6560,258.55,270,1.02,2)
call CreateDestructableZ('B00A',288,-6304,63.7,270,.81,1)
call CreateDestructableZ('B00A',224,-6304,52.48,270,1.07,0)
call CreateDestructableZ('B00A',-32,-6368,-15.31,270,1.11,1)
call CreateDestructableZ('B00A',160,-6304,33.45,270,.8,1)
call CreateDestructableZ('Ytlc',20416,-14400,504.37,270,1,0)
call CreateDestructableZ('B00A',-160,-6240,-22.5,270,1.09,0)
call CreateDestructableZ('B00A',-224,-6112,5.14,270,.9,2)
call CreateDestructable('B00A',160,-4320,270,.99,1)
call CreateDestructable('B00A',160,-4448,270,.95,2)
call CreateDestructable('B00A',288,-4640,270,.86,1)
call CreateDestructable('B00A',416,-4768,270,.96,2)
call CreateDestructable('B00A',416,-4832,270,.85,0)
call CreateDestructable('B00A',736,-6112,270,1,2)
call CreateDestructable('B00A',800,-5344,270,1.01,2)
call CreateDestructable('B00A',480,-4960,270,.89,1)
call CreateDestructable('B00A',672,-4832,270,.86,2)
call CreateDestructable('B00A',736,-5088,270,.8,0)
call CreateDestructable('B00A',32,-4576,270,1.06,2)
call CreateDestructable('B00A',-32,-4576,270,1.06,2)
call CreateDestructable('B00A',608,-5280,270,.97,2)
call CreateDestructableZ('Ytlc',19776,-14400,16.44,270,1,0)
call CreateDestructableZ('Ytlc',17984,-14400,135.06,270,1,0)
call CreateDestructable('B00A',800,-5472,270,.82,1)
call CreateDestructable('Ytlc',19392,-14400,270,1,0)
call CreateDestructable('B00A',800,-5600,270,.82,1)
call CreateDestructable('B00A',544,-5088,270,.82,0)
call CreateDestructable('B00A',480,-5216,270,.88,1)
call CreateDestructable('B00A',288,-5344,270,1.02,1)
call CreateDestructable('B00A',224,-5344,270,.91,2)
call CreateDestructableZ('Ytlc',19904,-14400,56.56,270,1,0)
call CreateDestructable('Ytlc',19264,-14400,270,1,0)
call CreateDestructable('B00A',544,-5408,270,1.06,1)
call CreateDestructable('B00A',352,-5408,270,1.09,0)
call CreateDestructable('B00A',96,-5408,270,.97,2)
call CreateDestructable('B00A',96,-5472,270,.97,0)
call CreateDestructableZ('Ytlc',19648,-14400,-.19,270,1,0)
call CreateDestructable('B00A',480,-5472,270,.85,1)
call CreateDestructable('B00A',608,-5536,270,1.19,0)
call CreateDestructable('B00A',864,-5856,270,.94,2)
call CreateDestructableZ('B00A',-1056,-7456,-108.83,270,.94,1)
call CreateDestructable('B00A',-1440,-7776,270,.92,2)
call CreateDestructable('B00A',-1568,-7456,270,.83,1)
call CreateDestructableZ('B00A',-1440,-7584,-9.84,270,1.2,0)
call CreateDestructableZ('B00A',-1312,-7584,-38.44,270,.87,2)
call CreateDestructableZ('B00A',-1248,-7584,-58.44,270,.9,2)
call CreateDestructableZ('B00A',-1504,-7456,-7.89,270,.97,0)
call CreateDestructable('B00A',-1504,-7904,270,.94,0)
call CreateDestructableZ('B00A',-1440,-7264,-19.22,270,.91,2)
call CreateDestructable('B00A',-1632,-7328,270,1.03,1)
call CreateDestructable('B00A',-1632,-7392,270,.9,0)
call CreateDestructable('B00A',-1760,-7328,270,.85,1)
call CreateDestructable('B00A',-1696,-7328,270,.86,0)
call CreateDestructable('B00A',736,-6752,270,.9,1)
call CreateDestructable('B00A',672,-6880,270,.94,2)
call CreateDestructable('B00A',672,-6944,270,1.04,1)
call CreateDestructable('B00A',672,-7008,270,1.12,0)
call CreateDestructable('B00A',-352,-5344,270,.92,0)
call CreateDestructable('B00A',-96,-5344,270,.99,0)
call CreateDestructable('B00A',-32,-5408,270,1.11,0)
call CreateDestructable('B00A',32,-5408,270,1.02,0)
call CreateDestructableZ('Ytlc',20160,-14400,212.81,270,1,0)
call CreateDestructable('B00A',-96,-5280,270,.83,1)
call CreateDestructable('B00A',-1312,-4960,270,1.07,1)
call CreateDestructable('B00A',-928,-4960,270,1.08,1)
call CreateDestructable('B00A',-1440,-4192,270,.86,1)
call CreateDestructable('B00A',-1248,-4128,270,.85,0)
call CreateDestructableZ('B00A',-864,-5216,-14.77,270,1.06,0)
call CreateDestructable('B00A',-1120,-4704,270,.95,0)
call CreateDestructableZ('B00A',-1056,-5472,-106.81,270,1.04,2)
call CreateDestructableZ('B00A',-1120,-5216,-22.5,270,.92,0)
call CreateDestructable('B00A',-672,-4448,270,.84,0)
call CreateDestructable('B00A',-352,-4384,270,1.16,2)
call CreateDestructable('B00A',-480,-4256,270,1.15,0)
call CreateDestructable('B00A',-480,-4064,270,.95,1)
call CreateDestructable('B00A',-416,-4064,270,.87,1)
call CreateDestructable('B00A',-416,-4000,270,.89,1)
call CreateDestructable('B00A',-352,-4000,270,1.09,1)
call CreateDestructable('B00A',-352,-3936,270,.89,1)
call CreateDestructable('B00A',-416,-3936,270,1.09,0)
call CreateDestructable('B00A',-800,-4320,270,1.16,2)
call CreateDestructable('B00A',-544,-4448,270,1.02,1)
call CreateDestructable('B00A',-736,-4512,270,.97,2)
call CreateDestructable('B00A',-736,-4576,270,.84,1)
call CreateDestructable('B00A',-736,-4640,270,.81,2)
call CreateDestructable('B00A',-1120,-2208,270,.88,1)
call CreateDestructable('B00A',-1056,-2144,270,1.14,1)
call CreateDestructable('B00A',-992,-2080,270,.94,0)
call CreateDestructable('B00A',-864,-2016,270,.82,1)
call CreateDestructable('B00A',-800,-2016,270,1.06,2)
call CreateDestructable('B00A',-928,-2016,270,1.02,1)
call CreateDestructable('B00A',-992,-2016,270,1.12,1)
call CreateDestructable('B00A',-1568,-2656,270,.8,2)
call CreateDestructable('B00A',-1312,-3168,270,.97,2)
call CreateDestructable('B00A',-1376,-2016,270,.87,0)
call CreateDestructable('B00A',-1632,-2208,270,.96,1)
call CreateDestructable('B00A',-1376,-2144,270,1.06,0)
call CreateDestructable('B00A',-1056,-2720,270,1.08,1)
call CreateDestructable('B00A',-1184,-2912,270,.95,2)
call CreateDestructable('B00A',-544,-2144,270,1.09,2)
call CreateDestructableZ('B00A',-416,-2080,-.28,270,.98,1)
call CreateDestructableZ('B00A',-352,-2080,-.38,270,1.03,1)
call CreateDestructableZ('B00A',-288,-2144,-.13,270,1.09,1)
call CreateDestructable('B00A',-224,-2208,270,.97,1)
call CreateDestructableZ('B00A',-416,-1952,27.28,270,1.05,1)
call CreateDestructableZ('B00A',-672,-1888,-.09,270,1.02,2)
call CreateDestructableZ('B00A',-736,-1888,-.03,270,1.08,1)
call CreateDestructable('B00A',-800,-1888,270,.81,1)
call CreateDestructable('B00A',-672,-2144,270,1.19,0)
call CreateDestructableZ('B00A',-352,-2144,-.13,270,.82,1)
call CreateDestructableZ('B00A',32,-7392,-89.42,270,.99,0)
call CreateDestructable('B00A',736,-7840,270,.97,0)
call CreateDestructable('B00A',736,-7904,270,.95,2)
call CreateDestructable('B00A',480,-8224,270,.82,1)
call CreateDestructableZ('B00A',672,-96,106.77,270,1.13,0)
call CreateDestructableZ('B00A',992,288,21.75,270,.8,2)
call CreateDestructableZ('B00A',992,-672,63.28,270,1.05,2)
call CreateDestructableZ('B00A',480,-928,150.78,270,.8,0)
call CreateDestructableZ('B00A',-1312,-11488,176.84,270,1.11,0)
call CreateDestructableZ('B00A',-1312,-11552,164.23,270,1.06,0)
call CreateDestructableZ('B00A',-1440,-11616,207.03,270,.92,2)
call CreateDestructableZ('B00A',-1632,-11680,213.17,270,1.05,1)
call CreateDestructableZ('B00A',-1760,-11680,266.81,270,1.07,2)
call CreateDestructableZ('B00A',-1312,-11424,174.91,270,.9,2)
call CreateDestructableZ('B00A',-1184,-11488,108.94,270,1.15,0)
call CreateDestructableZ('B00A',-1120,-11488,84.73,270,.9,2)
call CreateDestructableZ('B00A',-992,-11424,87.86,270,.9,0)
call CreateDestructableZ('B00A',-800,-11296,64.2,270,1.15,2)
call CreateDestructableZ('B00A',-736,-11296,69.77,270,.94,0)
call CreateDestructableZ('B00A',-672,-11552,158.72,270,.87,0)
call CreateDestructableZ('B00A',-608,-11296,95.75,270,1.05,0)
call CreateDestructableZ('B00A',-544,-11360,169.87,270,.96,1)
call CreateDestructableZ('B00A',-544,-11424,220.09,270,1,1)
call CreateDestructable('B00A',928,1440,270,.91,1)
call CreateDestructableZ('B007',16032,-9888,544.19,270,.96,1)
call CreateDestructableZ('B007',14880,-4768,369.45,270,1.08,1)
call CreateDestructableZ('B009',14176,-12448,172.55,270,1.02,2)
call CreateDestructableZ('B009',14240,-12448,227.58,270,.89,1)
call CreateDestructableZ('B007',16032,-9440,134.5,270,1.12,0)
call CreateDestructableZ('B00A',1504,-14048,403.34,270,.83,0)
call CreateDestructableZ('B00A',4000,-13280,80.67,270,1.01,1)
call CreateDestructableZ('B00A',3424,-12768,67.23,270,1.05,0)
call CreateDestructable('B00A',3168,-13472,270,.83,2)
call CreateDestructable('B00A',2784,-13664,270,1.01,2)
call CreateDestructable('B00A',2912,-13408,270,1.03,0)
call CreateDestructableZ('B009',14368,-12640,586.02,270,1.07,1)
call CreateDestructableZ('B00A',-160,-11232,218.92,270,.98,1)
call CreateDestructableZ('B00A',-224,-11232,212.27,270,1.17,2)
call CreateDestructableZ('B009',14432,-13024,484.84,270,.84,1)
call CreateDestructableZ('B009',14112,-12896,704.62,270,.94,1)
call CreateDestructableZ('B00A',1568,-14304,32.22,270,1.05,0)
call CreateDestructableZ('B009',14112,-13216,424.56,270,.91,0)
call CreateDestructableZ('B009',14112,-12832,626,270,.89,2)
call CreateDestructableZ('B00A',3168,-13152,15.8,270,1.05,0)
call CreateDestructableZ('B00A',2784,-13024,27.77,270,1.16,1)
call CreateDestructableZ('B00A',2976,-12960,150,270,1.04,2)
call CreateDestructableZ('B00A',3040,-12896,182.78,270,.88,0)
call CreateDestructableZ('B009',13856,-13216,122.05,270,1.17,1)
call CreateDestructableZ('B009',13792,-13024,260.44,270,.85,1)
call CreateDestructable('B007',14112,2016,270,1.06,0)
call CreateDestructableZ('B00A',-416,-11296,179.56,270,1.01,2)
call CreateDestructableZ('B00A',-416,-11360,213.44,270,1.03,0)
call CreateDestructable('B007',13856,2016,270,1.12,2)
call CreateDestructableZ('B007',14240,-5152,500.81,270,.93,2)
call CreateDestructable('B007',13728,1952,270,.9,2)
call CreateDestructable('B007',13792,1888,270,1.03,2)
call CreateDestructable('B007',13984,1888,270,.85,0)
call CreateDestructable('B007',14432,1888,270,1.05,1)
call CreateDestructableZ('B007',21728,-8864,317.66,270,1.05,0)
call CreateDestructableZ('B007',14496,-5792,233.39,270,1.04,0)
call CreateDestructable('B007',14368,1888,270,.91,2)
call CreateDestructable('B007',14304,1888,270,.94,0)
call CreateDestructableZ('B007',14304,-5152,576.44,270,1.19,2)
call CreateDestructableZ('B007',14624,-352,128.86,270,1.18,1)
call CreateDestructable('B007',14048,1888,270,.86,0)
call CreateDestructableZ('B00A',-480,-11360,192.19,270,.91,1)
call CreateDestructableZ('B00A',32,-11296,196.39,270,1.09,1)
call CreateDestructableZ('B007',14368,-5216,449.95,270,.96,0)
call CreateDestructableZ('B007',14560,-5728,416.55,270,1.03,1)
call CreateDestructable('B007',13728,1888,270,.86,1)
call CreateDestructable('B007',13792,2016,270,1.02,0)
call CreateDestructable('B007',13536,1952,270,.84,2)
call CreateDestructable('B007',13344,1952,270,1.01,1)
call CreateDestructable('B007',13408,1888,270,.85,2)
call CreateDestructable('B007',13280,1888,270,1.02,1)
call CreateDestructable('B007',13152,1888,270,1.03,2)
call CreateDestructable('B007',13088,1824,270,.95,2)
call CreateDestructable('B007',13024,1760,270,1.12,2)
call CreateDestructableZ('B00A',-224,-5792,61.67,270,1.19,1)
call CreateDestructableZ('B00A',32,-6432,-4.31,270,.99,1)
call CreateDestructableZ('B00A',96,-11360,146.64,270,1.14,2)
call CreateDestructableZ('B00A',224,-11488,87.22,270,.88,2)
call CreateDestructable('B00A',-544,-3616,270,.81,2)
call CreateDestructable('B00A',-544,-3744,270,1.06,1)
call CreateDestructable('B00A',-416,-3808,270,.99,0)
call CreateDestructable('B00A',160,-4384,270,1.02,0)
call CreateDestructable('B00A',160,-4512,270,.83,1)
call CreateDestructable('B00A',224,-4576,270,.83,0)
call CreateDestructable('B00A',352,-4704,270,1.13,1)
call CreateDestructable('B00A',480,-4896,270,.96,1)
call CreateDestructableZ('Ytlc',20032,-14400,112.31,270,1,0)
call CreateDestructable('B00A',736,-5984,270,.92,1)
call CreateDestructable('B00A',928,-5280,270,.96,2)
call CreateDestructableZ('Ytlc',19136,-14400,3.75,270,1,0)
call CreateDestructable('B00A',672,-5728,270,1.04,0)
call CreateDestructableZ('B00A',736,-11744,113.17,270,1.03,2)
call CreateDestructableZ('B00A',864,-11616,195.3,270,.96,1)
call CreateDestructable('B00A',928,-5728,270,.86,1)
call CreateDestructableZ('Ytlc',20544,-14400,570.06,270,1,0)
call CreateDestructable('B00A',480,-5408,270,.96,1)
call CreateDestructableZ('B00A',-224,-5600,4.5,270,1.19,1)
call CreateDestructableZ('Ytlc',21824,-14400,177.19,270,1,0)
call CreateDestructableZ('Ytlc',21440,-14400,523.31,270,1,0)
call CreateDestructable('B00A',-992,-5024,270,1.06,0)
call CreateDestructable('B00A',-864,-4896,270,.89,2)
call CreateDestructableZ('B00A',-864,-6304,76.5,270,1.13,1)
call CreateDestructableZ('B00A',-1504,-6496,-.05,270,1.04,1)
call CreateDestructableZ('B00A',-1248,-6304,57.5,270,1.19,2)
call CreateDestructableZ('B00A',-32,-7904,-52.25,270,.86,2)
call CreateDestructableZ('B00A',-96,-7904,-65,270,.87,0)
call CreateDestructableZ('B009',13920,-12704,268.28,270,.85,0)
call CreateDestructableZ('B009',14048,-12640,323.12,270,.88,1)
call CreateDestructable('B00A',10976,2016,270,.84,1)
call CreateDestructableZ('B009',15264,-11296,2.62,270,1.13,1)
call CreateDestructableZ('B009',15392,-10912,-.56,270,.93,2)
call CreateDestructable('B00A',11040,1952,270,1.15,0)
call CreateDestructableZ('B007',16160,-9248,60.31,270,1.18,1)
call CreateDestructableZ('B00A',10016,-1952,149.31,270,.84,0)
call CreateDestructableZ('B007',16160,-9120,87.66,270,1.2,1)
call CreateDestructable('B00A',224,-8352,270,.85,1)
call CreateDestructable('B00A',11168,224,270,1.02,1)
call CreateDestructableZ('B00A',608,-864,70.91,270,.96,0)
call CreateDestructableZ('B00A',928,32,117.47,270,1.04,2)
call CreateDestructable('B00A',11040,2016,270,1.04,2)
call CreateDestructableZ('B00A',10720,-1248,284.53,270,.91,0)
call CreateDestructable('B00A',11104,224,270,.9,1)
call CreateDestructableZ('B007',16160,-9056,116.03,270,1.06,0)
call CreateDestructableZ('B00A',10656,-1376,332.78,270,.81,0)
call CreateDestructableZ('B007',16032,-9056,197.41,270,.98,1)
call CreateDestructableZ('B00A',11104,-288,2.33,270,1.14,0)
call CreateDestructableZ('B00A',11040,-288,2.73,270,1.03,1)
call CreateDestructable('B00A',11040,1632,270,.89,1)
call CreateDestructableZ('B00A',10784,-1248,374.41,270,.91,1)
call CreateDestructableZ('B00A',10656,-1248,177.34,270,.94,0)
call CreateDestructable('B00A',11040,1696,270,.86,0)
call CreateDestructableZ('B007',15840,-9120,483.09,270,.88,1)
call CreateDestructableZ('B00A',928,-32,121.09,270,1.16,1)
call CreateDestructableZ('B00A',992,-32,90.53,270,1.02,2)
call CreateDestructable('B00A',11168,416,270,.95,2)
call CreateDestructable('B00A',11040,224,270,1.02,0)
call CreateDestructable('B00A',11232,416,270,1.08,1)
call CreateDestructableZ('B00A',10656,-1312,252.84,270,.83,1)
call CreateDestructableZ('B00A',10272,-11232,113.16,270,.84,2)
call CreateDestructableZ('B00A',10080,-11296,-.03,270,1.03,0)
call CreateDestructable('B00A',-2016,-12192,270,1.11,1)
call CreateDestructable('B00A',-1952,-12512,270,1.04,1)
call CreateDestructableZ('B00A',10336,-10656,115.75,270,1,2)
call CreateDestructable('B00A',-544,-14304,270,.96,0)
call CreateDestructableZ('B00A',-1952,-11872,221.87,270,1.04,2)
call CreateDestructable('B00A',-736,-14304,270,.95,0)
call CreateDestructable('B00A',-288,-14304,270,.94,1)
call CreateDestructable('B00A',-2016,-13088,270,.92,0)
call CreateDestructable('B00A',-2016,-13152,270,.92,2)
call CreateDestructable('B00A',10464,-9504,270,1.04,2)
call CreateDestructableZ('B00A',-1952,-12000,45.63,270,1.13,2)
call CreateDestructable('B00A',-1952,-12704,270,1.19,2)
call CreateDestructable('B00A',-1952,-12960,270,.99,1)
call CreateDestructableZ('B00A',10528,-10016,2.87,270,1.2,0)
call CreateDestructable('B00A',10784,-9376,270,1.09,2)
call CreateDestructableZ('YTfb',2080,-13152,297.61,270,1,0)
call CreateDestructableZ('YTfb',9568,-7072,432.59,270,1,0)
call CreateDestructableZ('B009',14944,-11488,2.39,270,1.18,1)
call CreateDestructableZ('B009',14944,-11424,.8,270,.88,2)
call CreateDestructable('B009',15008,-11232,270,.94,0)
call CreateDestructable('B009',15008,-11040,270,1,1)
call CreateDestructable('B009',15008,-10976,270,1.17,1)
call CreateDestructableZ('B009',13344,-11296,89.48,270,.86,0)
call CreateDestructableZ('B009',13280,-11744,.3,270,.83,1)
call CreateDestructableZ('B009',13024,-11680,41.19,270,.86,1)
call CreateDestructableZ('B009',13088,-11488,141.45,270,1.05,2)
call CreateDestructableZ('B009',13152,-11424,139.7,270,.94,0)
call CreateDestructableZ('B007',21728,-8736,517.28,270,1.13,0)
call CreateDestructableZ('B007',15584,-8672,56.84,270,.94,0)
call CreateDestructableZ('B007',15520,-9120,249.25,270,1.09,2)
call CreateDestructableZ('B007',15520,-9184,273,270,1.08,2)
call CreateDestructableZ('B00A',9824,-12256,11.45,270,1.13,0)
call CreateDestructableZ('B007',15456,-9376,378.56,270,.88,1)
call CreateDestructableZ('B007',15456,-9440,451.31,270,1.16,1)
call CreateDestructableZ('B00A',9760,-12320,2.12,270,.86,2)
call CreateDestructableZ('B007',21728,-8800,434.84,270,1.15,0)
call CreateDestructableZ('B007',13472,-480,54.63,270,.92,2)
call CreateDestructableZ('B007',15264,-9056,57.31,270,.81,0)
call CreateDestructableZ('B007',15328,-9696,520.06,270,.88,1)
call CreateDestructableZ('B007',15264,-9632,399.56,270,1.17,1)
call CreateDestructableZ('B007',15072,-9568,221.55,270,1.2,2)
call CreateDestructableZ('B007',14752,-9312,177.84,270,1.15,1)
call CreateDestructableZ('B007',14816,-9440,154.44,270,1.15,1)
call CreateDestructableZ('B007',14880,-9568,74.03,270,.92,1)
call CreateDestructableZ('B007',14944,-9952,147.25,270,1.02,2)
call CreateDestructableZ('B007',15072,-9952,245.17,270,.86,0)
call CreateDestructableZ('B007',15136,-9952,327.16,270,1.18,1)
call CreateDestructableZ('B007',15136,-10144,610.83,270,.88,1)
call CreateDestructableZ('B007',15136,-9888,303.34,270,1.17,0)
call CreateDestructableZ('B007',15072,-9760,153.86,270,.93,2)
call CreateDestructableZ('B007',14944,-9696,42.22,270,1.16,2)
call CreateDestructableZ('B007',14752,-10464,86.16,270,.9,1)
call CreateDestructableZ('B007',14496,-10336,164.3,270,1.04,0)
call CreateDestructableZ('B007',14560,-10400,186.75,270,.88,1)
call CreateDestructableZ('B007',14624,-10400,240.11,270,.82,2)
call CreateDestructableZ('B007',15072,-10528,152.42,270,.89,1)
call CreateDestructableZ('B007',14944,-10464,116.53,270,.91,2)
call CreateDestructableZ('B007',14880,-10400,223.66,270,.88,0)
call CreateDestructableZ('B007',14880,-10336,360.27,270,.84,1)
call CreateDestructableZ('B00A',1504,-14304,65.95,270,.93,2)
call CreateDestructableZ('B00A',2912,-12448,35.13,270,.96,0)
call CreateDestructableZ('B007',14688,-10336,419.2,270,.84,0)
call CreateDestructableZ('B00A',2912,-12576,83.31,270,.97,0)
call CreateDestructableZ('B007',14560,-10272,377.17,270,.89,2)
call CreateDestructableZ('B007',14240,-10016,34.14,270,.94,0)
call CreateDestructableZ('B007',14496,-5216,405.36,270,.94,2)
call CreateDestructableZ('B007',14560,-5216,380.95,270,1.19,0)
call CreateDestructableZ('B007',13856,-5856,191.27,270,1.12,2)
call CreateDestructableZ('B007',14432,-6432,309.19,270,.84,2)
call CreateDestructableZ('B00A',1568,-14176,185.36,270,1.07,0)
call CreateDestructableZ('B007',14496,-6432,336.33,270,.96,1)
call CreateDestructableZ('B009',12896,-12704,34.34,270,1.05,1)
call CreateDestructableZ('B009',12896,-12640,71.84,270,.94,1)
call CreateDestructableZ('B009',13024,-12576,24.2,270,1.05,1)
call CreateDestructableZ('B007',14496,-6368,315.33,270,1.09,0)
call CreateDestructableZ('B007',14496,-6304,255.61,270,.95,1)
call CreateDestructableZ('B009',13088,-12448,8.25,270,.86,0)
call CreateDestructableZ('B009',13088,-12320,30.28,270,.99,1)
call CreateDestructableZ('B009',13088,-12384,17.59,270,.89,0)
call CreateDestructableZ('B009',12896,-12576,123.66,270,.97,2)
call CreateDestructableZ('B009',12384,-13472,97.2,270,1.12,1)
call CreateDestructableZ('B009',12192,-13472,601.3,270,.93,0)
call CreateDestructableZ('B009',12256,-13408,439.61,270,1.15,2)
call CreateDestructableZ('B009',12192,-13408,639.2,270,1.07,1)
call CreateDestructableZ('B009',12320,-13280,357.94,270,1.16,1)
call CreateDestructableZ('B009',12320,-13216,394.69,270,1.1,0)
call CreateDestructableZ('B009',12128,-13344,713.62,270,.83,0)
call CreateDestructableZ('B009',11808,-13856,365.52,270,.93,0)
call CreateDestructableZ('B009',12320,-13920,.75,270,.93,2)
call CreateDestructableZ('B009',12384,-14112,3.87,270,.98,1)
call CreateDestructableZ('B009',12448,-13728,-.14,270,.83,0)
call CreateDestructableZ('B009',11872,-13664,328.97,270,1.04,2)
call CreateDestructableZ('B009',12064,-13792,208.08,270,.94,1)
call CreateDestructable('B007',22496,-13216,270,.91,0)
call CreateDestructable('B007',22496,-13536,270,.89,0)
call CreateDestructable('B007',22496,-14240,270,.82,2)
call CreateDestructable('B007',22496,-14048,270,.86,0)
call CreateDestructable('B007',22496,-13984,270,1.11,1)
call CreateDestructable('B007',22496,-13728,270,.87,2)
call CreateDestructable('B007',22496,-12960,270,1.05,2)
call CreateDestructable('B007',22496,-12896,270,1.05,2)
call CreateDestructable('B007',22496,-13088,270,.88,0)
call CreateDestructable('B007',22432,-12832,270,.99,2)
call CreateDestructable('B007',22432,-12512,270,1.05,2)
call CreateDestructable('B007',22368,-12128,270,1.02,2)
call CreateDestructable('B007',22496,-11488,270,.99,1)
call CreateDestructable('B007',22496,-11872,270,1.17,2)
call CreateDestructable('B007',22496,-11680,270,1.15,1)
call CreateDestructable('B007',22496,-11360,270,.86,2)
call CreateDestructable('B007',22496,-11040,270,.92,0)
call CreateDestructable('B007',22496,-11104,270,.89,1)
call CreateDestructable('B007',22496,-10848,270,.98,0)
call CreateDestructable('B007',22432,-9248,270,1.12,0)
call CreateDestructable('B007',22432,-9440,270,1.08,0)
call CreateDestructable('B007',22496,-9824,270,1.16,1)
call CreateDestructable('B007',22496,-10464,270,1.04,0)
call CreateDestructable('B007',22496,-10336,270,1.02,0)
call CreateDestructable('B007',22496,-10208,270,.95,1)
call CreateDestructable('B007',22496,-9952,270,.89,1)
call CreateDestructable('B007',22496,-9376,270,.84,2)
call CreateDestructable('B007',22496,-9248,270,.95,1)
call CreateDestructable('B007',22496,-9312,270,.97,1)
call CreateDestructable('B007',22496,-9504,270,1.18,2)
call CreateDestructable('B00A',416,-2080,270,1.17,1)
call CreateDestructable('B00A',672,-2016,270,1.15,1)
call CreateDestructableZ('B00A',7712,32,400.53,270,.91,1)
call CreateDestructable('B00A',480,-2144,270,1.01,0)
call CreateDestructable('B00A',352,-2144,270,.94,0)
call CreateDestructableZ('B00A',10080,-3232,66.91,270,1.09,1)
call CreateDestructableZ('B00A',9952,-3296,60.92,270,.92,1)
call CreateDestructableZ('B00A',10272,-2976,177.78,270,1.04,2)
call CreateDestructableZ('B00A',10336,-2912,143.66,270,1.12,2)
call CreateDestructableZ('B00A',10336,-2976,158.47,270,1,2)
call CreateDestructableZ('B00A',10720,-3552,106.55,270,.91,1)
call CreateDestructableZ('B00A',10592,-3744,139.27,270,.83,0)
call CreateDestructableZ('B00A',10528,-3936,163.03,270,.86,2)
call CreateDestructableZ('B00A',10528,-4000,165.72,270,.83,1)
call CreateDestructableZ('B00A',10592,-4000,232.41,270,1.18,1)
call CreateDestructableZ('B00A',10592,-4064,225.59,270,.85,2)
call CreateDestructable('B00A',-1696,-14304,270,1.1,1)
call CreateDestructableZ('B00A',10656,-8032,14.2,270,1.01,0)
call CreateDestructable('B00A',-1952,-13728,270,1.11,2)
call CreateDestructable('B00A',-1952,-13920,270,.96,0)
call CreateDestructableZ('B00A',10656,-8288,46.89,270,1.02,2)
call CreateDestructableZ('B00A',9888,-7968,177.22,270,.86,1)
call CreateDestructableZ('B00A',10016,-7904,27.42,270,1.06,2)
call CreateDestructableZ('B00A',10080,-7840,6.67,270,.85,2)
call CreateDestructableZ('B00A',10464,-8032,95.55,270,1.03,2)
call CreateDestructable('B00A',-2016,-13344,270,1.18,1)
call CreateDestructable('B00A',-1952,-13536,270,1.16,0)
call CreateDestructable('B00A',10784,-7776,270,.93,0)
call CreateDestructable('B00A',10912,-7648,270,1.02,0)
call CreateDestructable('B00A',10848,-7648,270,.89,2)
call CreateDestructable('B00A',10720,-7520,270,1.2,0)
call CreateDestructable('B00A',10912,-6880,270,.98,1)
call CreateDestructable('B00A',10784,-6880,270,.86,1)
call CreateDestructable('B00A',10848,-6688,270,.8,2)
call CreateDestructable('B00A',10720,-6624,270,1.1,0)
call CreateDestructable('B00A',10784,-6496,270,1.18,0)
call CreateDestructableZ('B00A',9632,-5920,57.58,270,1.08,1)
call CreateDestructableZ('B00A',9440,-5984,63.36,270,.88,0)
call CreateDestructableZ('B00A',9440,-5920,98.45,270,1.15,2)
call CreateDestructableZ('B00A',9504,-7584,241.72,270,1.14,1)
call CreateDestructableZ('B00A',9440,-7456,229.25,270,.88,0)
call CreateDestructableZ('B00A',9376,-7392,167.77,270,1.18,2)
call CreateDestructableZ('B00A',9376,-7328,175.55,270,1.02,1)
call CreateDestructableZ('B00A',9504,-7200,353.44,270,.83,0)
call CreateDestructableZ('B00A',9504,-7072,363.03,270,1.14,1)
call CreateDestructableZ('B00A',9632,-6944,355.11,270,1.07,2)
call CreateDestructableZ('B00A',9568,-8032,167.2,270,1.11,1)
call CreateDestructableZ('B00A',9504,-8096,65.23,270,1.05,0)
call CreateDestructableZ('B00A',10272,-8224,245.33,270,.87,2)
call CreateDestructableZ('B00A',10208,-8224,241.95,270,.85,2)
call CreateDestructable('B00A',11040,-7264,270,.84,0)
call CreateDestructableZ('B00A',10848,-5216,85.61,270,1.15,2)
call CreateDestructableZ('B00A',9440,-5024,165.75,270,.82,1)
call CreateDestructableZ('B00A',9504,-4640,78.97,270,.95,1)
call CreateDestructableZ('B00A',9248,-3936,1.03,270,.81,0)
call CreateDestructableZ('B00A',9312,-4192,84.66,270,.99,2)
call CreateDestructableZ('B00A',9312,-4384,111.27,270,1.04,2)
call CreateDestructableZ('B00A',9312,-4448,95.67,270,.91,2)
call CreateDestructableZ('B00A',9568,-12320,-4.06,270,.86,2)
call CreateDestructableZ('B00A',9888,-12512,6.61,270,1.07,1)
call CreateDestructableZ('B00A',9248,-4576,85.39,270,1.2,1)
call CreateDestructableZ('B00A',608,-11744,153.31,270,1,1)
call CreateDestructableZ('B007',14496,-6112,166.87,270,1.01,1)
call CreateDestructableZ('B007',14432,-5856,118.84,270,.92,2)
call CreateDestructableZ('B007',14432,-5792,206.53,270,1.02,1)
call CreateDestructableZ('B007',13600,-5728,95.62,270,1.13,1)
call CreateDestructableZ('B00A',800,-160,146.66,270,.99,0)
call CreateDestructableZ('B00A',800,-96,140.89,270,.9,2)
call CreateDestructableZ('B00A',32,-224,115.94,270,.87,1)
call CreateDestructable('B00A',288,-8160,270,.82,0)
call CreateDestructable('B00A',1312,-10144,270,.97,1)
call CreateDestructable('B00A',800,-3104,270,1.06,1)
call CreateDestructable('B00A',992,-9504,270,1.09,2)
call CreateDestructable('B00A',2080,-9056,270,1.02,1)
call CreateDestructable('B00A',2208,-9056,270,1.06,0)
call CreateDestructable('B00A',2464,-9184,270,.93,1)
call CreateDestructable('B009',16160,-11168,270,.84,1)
call CreateDestructableZ('B009',16288,-10848,4.62,270,.97,0)
call CreateDestructable('B009',18272,-11936,270,1.18,2)
call CreateDestructable('B009',18080,-11808,270,.93,0)
call CreateDestructable('B009',18208,-12192,270,1.14,1)
call CreateDestructable('B009',18016,-12128,270,.93,2)
call CreateDestructableZ('B009',15968,-12128,82.11,270,.94,2)
call CreateDestructableZ('B009',15584,-12000,32.91,270,.97,2)
call CreateDestructableZ('B009',15264,-12384,542.62,270,.9,0)
call CreateDestructableZ('B009',15520,-12960,204.3,270,.96,1)
call CreateDestructable('B00A',3872,-11040,270,1.02,2)
call CreateDestructable('B00A',3744,-11168,270,.84,2)
call CreateDestructable('B00A',3552,-11232,270,.83,0)
call CreateDestructable('B00A',3424,-11232,270,1.14,2)
call CreateDestructable('B00A',3360,-11296,270,1.05,1)
call CreateDestructable('B00A',3232,-11296,270,1.04,2)
call CreateDestructable('B00A',3168,-11424,270,1.03,1)
call CreateDestructable('B00A',2976,-11488,270,.85,2)
call CreateDestructable('B00A',2720,-11616,270,.82,0)
call CreateDestructable('B00A',2528,-11680,270,1.02,0)
call CreateDestructable('B00A',2464,-11744,270,.85,1)
call CreateDestructable('B00A',2208,-11680,270,.89,1)
call CreateDestructable('B00A',1952,-11552,270,.83,0)
call CreateDestructableZ('B00A',-1888,1376,299.64,270,1.11,2)
call CreateDestructableZ('B00A',224,-1120,56.63,270,1.11,0)
call CreateDestructableZ('B00A',480,-800,171.23,270,1.01,1)
call CreateDestructableZ('B00A',544,-800,129.91,270,.86,1)
call CreateDestructableZ('B00A',672,-352,226.19,270,.87,2)
call CreateDestructable('B00A',800,-10912,270,1.14,1)
call CreateDestructable('B00A',1760,-11104,270,1.12,2)
call CreateDestructable('B00A',1696,-11040,270,1.12,1)
call CreateDestructable('B00A',1632,-10912,270,.82,2)
call CreateDestructableZ('B007',13600,-5664,126,270,.84,2)
call CreateDestructableZ('B007',13536,-5536,105.12,270,.96,2)
call CreateDestructableZ('B007',13536,-5472,108.23,270,.98,2)
call CreateDestructableZ('B007',13536,-5408,105.33,270,.84,1)
call CreateDestructableZ('B007',13536,-5280,81.94,270,.92,1)
call CreateDestructableZ('B007',13600,-5280,134.47,270,.91,2)
call CreateDestructableZ('B007',13728,-5280,284,270,1.15,1)
call CreateDestructableZ('B007',13664,-4960,9.19,270,1.06,0)
call CreateDestructableZ('B007',21216,-8224,270.41,270,1.2,1)
call CreateDestructableZ('B007',21088,-8160,488.28,270,.92,2)
call CreateDestructableZ('B007',20896,-8352,305.28,270,.9,2)
call CreateDestructableZ('B007',20896,-8288,403.23,270,1.04,2)
call CreateDestructableZ('B007',20896,-8224,460.33,270,.95,0)
call CreateDestructableZ('B007',20896,-8096,445.89,270,.89,2)
call CreateDestructableZ('B007',20832,-8032,444.86,270,.82,1)
call CreateDestructableZ('B007',20704,-7968,526.84,270,1.09,2)
call CreateDestructableZ('B007',20832,-7968,484.83,270,.92,0)
call CreateDestructableZ('B007',20960,-8032,481.41,270,.85,1)
call CreateDestructable('B00A',736,-3488,270,1.17,1)
call CreateDestructable('B00A',2400,-1760,270,1.09,1)
call CreateDestructable('B00A',2464,-1056,270,.89,2)
call CreateDestructable('B00A',2528,-672,270,.81,2)
call CreateDestructable('B00A',2272,-608,270,.81,1)
call CreateDestructable('B00A',2272,-160,270,1.13,2)
call CreateDestructableZ('B00A',1696,1696,-2.44,270,1.02,0)
call CreateDestructable('B00A',1056,736,270,1.1,1)
call CreateDestructable('B00A',1312,-96,270,1.14,1)
call CreateDestructable('B00A',1632,160,270,1.12,2)
call CreateDestructableZ('B00A',-2016,-288,26.33,270,1.15,1)
call CreateDestructableZ('B00A',-2016,-32,38.55,270,.88,0)
call CreateDestructableZ('B00A',-1952,160,-.14,270,1.14,2)
call CreateDestructableZ('B00A',-2016,480,4.36,270,.86,1)
call CreateDestructableZ('Ytlc',18240,-14400,425.37,270,1,0)
call CreateDestructableZ('Ytlc',18368,-14400,510.31,270,1,0)
call CreateDestructableZ('Ytlc',18496,-14400,457.81,270,1,0)
call CreateDestructableZ('Ytlc',18624,-14400,332.12,270,1,0)
call CreateDestructableZ('Ytlc',18752,-14400,200.94,270,1,0)
call CreateDestructableZ('Ytlc',18880,-14400,93.69,270,1,0)
call CreateDestructableZ('Ytlc',19008,-14400,28.5,270,1,0)
call CreateDestructableZ('Ytlc',17856,-14400,62.25,270,1,0)
call CreateDestructableZ('Ytlc',17728,-14400,16.5,270,1,0)
call CreateDestructable('Ytlc',17600,-14400,270,1,0)
call CreateDestructable('B007',22432,-9888,270,1.18,2)
call CreateDestructable('B007',22368,-9632,270,1.07,2)
call CreateDestructable('B007',12896,1504,270,1.18,2)
call CreateDestructable('B007',22368,-9696,270,1.01,2)
call CreateDestructable('B007',22368,-9824,270,.93,0)
call CreateDestructable('B007',22368,-10016,270,.82,2)
call CreateDestructable('B007',22368,-10080,270,.82,0)
call CreateDestructableZ('B007',21024,-8096,503.41,270,.95,1)
call CreateDestructableZ('B007',18912,-7456,119.48,270,1.01,2)
call CreateDestructableZ('B007',18912,-7392,248.67,270,.92,2)
call CreateDestructableZ('B007',18912,-7328,429.52,270,1.05,1)
call CreateDestructableZ('B007',13472,-736,120.31,270,.91,1)
call CreateDestructableZ('B007',13472,-800,155.75,270,1.05,2)
call CreateDestructableZ('B007',13984,-5792,563.23,270,.85,2)
call CreateDestructableZ('B007',13472,-864,188.62,270,.8,1)
call CreateDestructableZ('B007',13344,-864,82.59,270,1.11,0)
call CreateDestructableZ('B007',13280,-992,155.2,270,.83,2)
call CreateDestructable('Ytlc',16448,-14400,270,1,0)
call CreateDestructable('Ytlc',16576,-14400,270,1,0)
call CreateDestructable('Ytlc',16704,-14400,270,1,0)
call CreateDestructable('Ytlc',16832,-14400,270,1,0)
call CreateDestructable('Ytlc',16960,-14400,270,1,0)
call CreateDestructable('Ytlc',17088,-14400,270,1,0)
call CreateDestructable('Ytlc',17216,-14400,270,1,0)
call CreateDestructable('Ytlc',17344,-14400,270,1,0)
call CreateDestructable('Ytlc',17472,-14400,270,1,0)
call CreateDestructable('Ytlc',16320,-14400,270,1,0)
call CreateDestructable('Ytlc',16192,-14400,270,1,0)
call CreateDestructable('Ytlc',16064,-14400,270,1,0)
call CreateDestructable('Ytlc',14912,-14400,270,1,0)
call CreateDestructable('Ytlc',15040,-14400,270,1,0)
call CreateDestructable('Ytlc',15168,-14400,270,1,0)
call CreateDestructable('Ytlc',15296,-14400,270,1,0)
call CreateDestructable('Ytlc',15424,-14400,270,1,0)
call CreateDestructable('Ytlc',15552,-14400,270,1,0)
call CreateDestructable('Ytlc',15680,-14400,270,1,0)
call CreateDestructable('Ytlc',15808,-14400,270,1,0)
call CreateDestructable('Ytlc',15936,-14400,270,1,0)
call CreateDestructable('Ytlc',14784,-14400,270,1,0)
call CreateDestructable('Ytlc',14656,-14400,270,1,0)
call CreateDestructable('Ytlc',14528,-14400,270,1,0)
call CreateDestructable('Ytlc',13376,-14400,270,1,0)
call CreateDestructable('Ytlc',13504,-14400,270,1,0)
call CreateDestructable('Ytlc',13632,-14400,270,1,0)
call CreateDestructable('Ytlc',13760,-14400,270,1,0)
call CreateDestructable('Ytlc',13888,-14400,270,1,0)
call CreateDestructable('Ytlc',14016,-14400,270,1,0)
call CreateDestructable('Ytlc',14144,-14400,270,1,0)
call CreateDestructable('Ytlc',14272,-14400,270,1,0)
call CreateDestructable('Ytlc',14400,-14400,270,1,0)
call CreateDestructable('Ytlc',13248,-14400,270,1,0)
call CreateDestructable('Ytlc',13120,-14400,270,1,0)
call CreateDestructable('Ytlc',12992,-14400,270,1,0)
call CreateDestructableZ('Ytlc',11840,-14400,391.75,270,1,0)
call CreateDestructableZ('B007',18976,-7328,561.5,270,1.11,0)
call CreateDestructableZ('B007',19040,-7392,440.5,270,.93,1)
call CreateDestructableZ('B007',19104,-7392,488.27,270,.86,2)
call CreateDestructableZ('B007',19104,-7456,286.22,270,.85,2)
call CreateDestructableZ('B007',19168,-7456,306.41,270,1.06,0)
call CreateDestructableZ('B007',19296,-7392,544,270,1.09,0)
call CreateDestructableZ('B007',19360,-7456,494.87,270,1,0)
call CreateDestructable('B007',22368,-10208,270,.86,2)
call CreateDestructableZ('B00A',9568,-3296,127.91,270,.99,0)
call CreateDestructableZ('B00A',9440,-3104,153.55,270,1.13,0)
call CreateDestructableZ('B007',19360,-7520,362.62,270,1.06,2)
call CreateDestructableZ('B007',19360,-7584,248.3,270,1.16,1)
call CreateDestructableZ('B007',15072,-6112,67.98,270,1.01,2)
call CreateDestructableZ('B007',19360,-7648,151.89,270,.88,2)
call CreateDestructableZ('B007',17440,-6112,597.2,270,1.09,0)
call CreateDestructableZ('B007',14944,-6112,117.2,270,.91,1)
call CreateDestructableZ('B007',17440,-6176,525.45,270,1.15,2)
call CreateDestructableZ('B00A',2720,-12704,83.7,270,1.04,0)
call CreateDestructableZ('B00A',3104,-12448,47.86,270,1.07,1)
call CreateDestructableZ('B00A',3616,-13984,70.22,270,1.11,0)
call CreateDestructableZ('B00A',4000,-13984,177.56,270,1.03,0)
call CreateDestructableZ('B00A',4384,-13728,94.34,270,1.19,0)
call CreateDestructableZ('B00A',4128,-14176,147.02,270,1.17,2)
call CreateDestructableZ('B00A',4512,-11808,59.72,270,.81,1)
call CreateDestructableZ('B00A',4320,-11872,115.25,270,1.02,0)
call CreateDestructableZ('B00A',4256,-12064,94.12,270,1.03,2)
call CreateDestructableZ('B00A',1248,-13984,742.22,270,.89,1)
call CreateDestructableZ('B00A',4448,-12064,190.41,270,.91,2)
call CreateDestructableZ('B00A',928,-14304,464.94,270,1.11,0)
call CreateDestructableZ('B00A',3936,-12384,121.53,270,.84,2)
call CreateDestructableZ('B00A',4320,-12320,219.83,270,.81,0)
call CreateDestructableZ('B00A',4192,-12512,186.52,270,.91,0)
call CreateDestructableZ('B00A',736,-14240,275.33,270,.9,2)
call CreateDestructableZ('B00A',864,-13920,186.86,270,.88,0)
call CreateDestructableZ('B007',17312,-6176,532.86,270,1.17,0)
call CreateDestructableZ('B007',14688,-5664,681.55,270,.86,0)
call CreateDestructableZ('B007',15264,-5728,198.7,270,.98,1)
call CreateDestructableZ('B007',14624,-5664,573.27,270,.8,2)
call CreateDestructableZ('B007',15200,-5856,208.41,270,1.05,0)
call CreateDestructable('B007',22368,-10464,270,1.19,2)
call CreateDestructableZ('B00A',800,-13856,54.61,270,.9,0)
call CreateDestructableZ('B00A',4512,-12512,180.12,270,1.17,2)
call CreateDestructableZ('B00A',5792,-13536,49.3,270,.89,0)
call CreateDestructable('B007',13536,-3040,270,.91,0)
call CreateDestructable('B007',13472,-3040,270,.91,0)
call CreateDestructable('B007',13408,-3040,270,1.18,2)
call CreateDestructable('B007',13472,-2976,270,1.06,2)
call CreateDestructableZ('B007',13472,-2656,49,270,.85,0)
call CreateDestructableZ('B007',17184,-5024,840.87,270,1.04,2)
call CreateDestructableZ('B007',13536,-2656,87.75,270,.91,0)
call CreateDestructableZ('B007',14048,-2720,79.64,270,1.12,1)
call CreateDestructableZ('B007',13792,-2720,112.69,270,1.08,1)
call CreateDestructableZ('B007',13728,-2656,197.66,270,.85,2)
call CreateDestructableZ('B007',13664,-2592,297.31,270,.88,0)
call CreateDestructableZ('B00A',7520,96,440.02,270,1.18,2)
call CreateDestructableZ('LT10',11456,-2400,-207.01,90,1,0)
call CreateDestructable('B007',13216,-4000,270,1.2,1)
call CreateDestructable('B007',13152,-4320,270,1.15,1)
call CreateDestructable('B007',13280,-9568,270,1.18,1)
call CreateDestructable('B007',12896,-4192,270,1.05,0)
call CreateDestructable('B007',13088,-4320,270,1.08,2)
call CreateDestructableZ('B007',14432,-5216,428.36,270,1.12,2)
call CreateDestructable('B007',12704,1376,270,.91,2)
call CreateDestructable('B007',12768,1440,270,1.15,2)
call CreateDestructable('B007',12704,1440,270,.91,1)
call CreateDestructableZ('B007',14432,-6688,147.27,270,1.15,0)
call CreateDestructableZ('B007',14368,-6688,138.55,270,1.06,0)
call CreateDestructableZ('B007',14368,-6560,260.8,270,.93,1)
call CreateDestructableZ('B007',14432,-6496,317.94,270,1.05,2)
call CreateDestructable('B007',15392,-6304,270,.85,1)
call CreateDestructableZ('B007',15200,-6112,35.08,270,1.13,0)
call CreateDestructableZ('B007',13216,-1184,195.53,270,.98,1)
call CreateDestructableZ('B007',13408,-2528,111.44,270,1.15,0)
call CreateDestructableZ('B007',13344,-2400,127.45,270,1.04,2)
call CreateDestructableZ('B007',14176,-5728,772.89,270,1.03,2)
call CreateDestructableZ('B007',14112,-5728,841.92,270,.94,2)
call CreateDestructableZ('B007',14112,-5792,628.48,270,1.11,0)
call CreateDestructableZ('B007',14176,-5984,71.19,270,1.12,1)
call CreateDestructableZ('B007',13984,-5856,297.83,270,.82,0)
call CreateDestructableZ('B007',14112,-5920,170.81,270,1.17,2)
call CreateDestructableZ('B007',14048,-5856,346.23,270,.86,1)
call CreateDestructableZ('B007',13344,-2272,181.37,270,.97,0)
call CreateDestructableZ('B007',13344,-2208,189.75,270,.91,0)
call CreateDestructableZ('B007',13920,-5856,246.17,270,1.17,2)
call CreateDestructableZ('B007',15072,-5664,446.98,270,1.07,0)
call CreateDestructableZ('B007',15072,-5536,407.92,270,1.01,1)
call CreateDestructableZ('B007',14048,-5792,628.95,270,.85,0)
call CreateDestructable('B007',12768,1760,270,1.14,0)
call CreateDestructableZ('B007',14688,-6304,282.14,270,.95,2)
call CreateDestructableZ('B007',14688,-6240,314.55,270,1.05,0)
call CreateDestructable('B007',12960,1888,270,1.17,1)
call CreateDestructable('B007',12960,1824,270,.91,2)
call CreateDestructable('B007',13024,1888,270,.91,0)
call CreateDestructable('B007',13024,1952,270,.95,0)
call CreateDestructableZ('B007',13280,-1952,51.42,270,1.06,2)
call CreateDestructableZ('B007',14752,-6048,369.42,270,1.11,0)
call CreateDestructableZ('B007',17312,-5088,750,270,.99,2)
call CreateDestructableZ('B007',15264,-6176,8.02,270,.89,2)
call CreateDestructableZ('B007',13536,992,210.48,270,1.14,1)
call CreateDestructableZ('B007',14688,-416,56.59,270,.89,1)
call CreateDestructableZ('B007',15200,-6176,14.67,270,1.04,1)
call CreateDestructableZ('B007',17376,-5088,755,270,1.08,2)
call CreateDestructableZ('B007',17376,-5152,662.83,270,1.09,1)
call CreateDestructableZ('B007',15136,-6112,53.36,270,1.18,2)
call CreateDestructableZ('B007',17440,-5152,689.08,270,.86,1)
call CreateDestructableZ('B007',17440,-5280,583.06,270,.82,1)
call CreateDestructableZ('B007',17440,-5344,579.44,270,1.2,1)
call CreateDestructableZ('B007',17376,-5408,504.87,270,.81,0)
call CreateDestructableZ('B007',17312,-5152,628.36,270,.95,1)
call CreateDestructableZ('B007',14048,-5024,245.92,270,.99,1)
call CreateDestructableZ('B007',17248,-5152,568.56,270,1.07,2)
call CreateDestructableZ('B007',17184,-5152,483.44,270,.94,0)
call CreateDestructableZ('B007',16992,-3808,722.36,270,.84,0)
call CreateDestructableZ('B00A',9568,-3040,198.31,270,.92,2)
call CreateDestructableZ('B007',17056,-3808,744.72,270,.99,1)
call CreateDestructableZ('B00A',-32,-10272,192.8,270,.88,0)
call CreateDestructableZ('B00A',-928,-10144,180.67,270,1.2,2)
call CreateDestructableZ('B00A',-1504,-9888,79.03,270,.97,0)
call CreateDestructableZ('B00A',-1376,-8864,21.69,270,1.1,2)
call CreateDestructableZ('B00A',-800,-8864,279.67,270,1.01,0)
call CreateDestructableZ('B00A',-160,-9120,217.37,270,.88,1)
call CreateDestructableZ('B00A',416,-10080,150.48,270,1.08,0)
call CreateDestructableZ('B00A',160,-10464,57.19,270,.84,1)
call CreateDestructableZ('B00A',352,-608,180.34,270,.87,1)
call CreateDestructableZ('B00A',352,-544,188.03,270,1.13,2)
call CreateDestructableZ('B00A',288,-544,147.84,270,1.02,0)
call CreateDestructableZ('B00A',416,-544,209.84,270,.85,2)
call CreateDestructableZ('B00A',480,-544,213.28,270,.82,1)
call CreateDestructableZ('B00A',608,-544,193.58,270,.88,1)
call CreateDestructableZ('B00A',672,-480,220,270,1.17,0)
call CreateDestructableZ('B007',14240,-4448,275.25,270,1.07,0)
call CreateDestructableZ('B007',17120,-3808,756.78,270,1.03,1)
call CreateDestructableZ('B007',17440,-3808,617.5,270,1.14,0)
call CreateDestructableZ('B007',13984,-4960,148.69,270,.93,0)
call CreateDestructable('B007',22368,-10592,270,1,0)
call CreateDestructable('B007',22368,-10720,270,1.14,1)
call CreateDestructableZ('B007',13856,-4896,54.75,270,1.19,2)
call CreateDestructableZ('B007',13920,-4896,82.62,270,.95,2)
call CreateDestructableZ('B007',17248,-3808,710.92,270,1.07,2)
call CreateDestructableZ('Ytlc',11968,-14400,304.87,270,1,0)
call CreateDestructable('B007',22368,-10784,270,.8,1)
call CreateDestructable('B007',22368,-10848,270,.89,0)
call CreateDestructable('B007',22432,-11040,270,.94,0)
call CreateDestructable('B007',22432,-11104,270,1.07,0)
call CreateDestructableZ('B007',13280,-1824,9.8,270,.95,1)
call CreateDestructableZ('Ytlc',12096,-14400,217.81,270,1,0)
call CreateDestructableZ('Ytlc',12224,-14400,135.87,270,1,0)
call CreateDestructableZ('Ytlc',12352,-14400,43.19,270,1,0)
call CreateDestructable('B007',22432,-11232,270,1.15,1)
call CreateDestructable('B007',22432,-11360,270,.91,2)
call CreateDestructableZ('Ytlc',12480,-14400,-.5,270,1,0)
call CreateDestructableZ('B007',13344,-1632,1.59,270,.99,1)
call CreateDestructableZ('B007',15136,-1888,70.45,270,1.14,1)
call CreateDestructable('B007',22432,-11424,270,1.14,2)
call CreateDestructable('B007',22432,-11488,270,.84,2)
call CreateDestructable('B007',22432,-11552,270,1.02,2)
call CreateDestructable('B007',22432,-11616,270,1.16,2)
call CreateDestructableZ('B007',17312,-3744,693.73,270,.98,0)
call CreateDestructable('Ytlc',12608,-14400,270,1,0)
call CreateDestructable('Ytlc',12736,-14400,270,1,0)
call CreateDestructable('Ytlc',12864,-14400,270,1,0)
call CreateDestructableZ('Ytlc',11712,-14400,385.44,270,1,0)
call CreateDestructableZ('Ytlc',11584,-14400,279.56,270,1,0)
call CreateDestructableZ('Ytlc',11456,-14400,226.19,270,1,0)
call CreateDestructableZ('Ytlc',8896,-14400,-.19,270,1,0)
call CreateDestructable('Ytlc',9024,-14400,270,1,0)
call CreateDestructableZ('Ytlc',9152,-14400,8.19,270,1,0)
call CreateDestructableZ('Ytlc',9280,-14400,8.19,270,1,0)
call CreateDestructableZ('Ytlc',9408,-14400,-.25,270,1,0)
call CreateDestructableZ('Ytlc',9536,-14400,12.06,270,1,0)
call CreateDestructableZ('Ytlc',9664,-14400,14.88,270,1,0)
call CreateDestructableZ('Ytlc',9792,-14400,4.87,270,1,0)
call CreateDestructableZ('Ytlc',9920,-14400,2.25,270,1,0)
call CreateDestructableZ('Ytlc',8768,-14400,16.25,270,1,0)
call CreateDestructableZ('Ytlc',8640,-14400,54.81,270,1,0)
call CreateDestructableZ('Ytlc',8512,-14400,76.25,270,1,0)
call CreateDestructable('Ytlc',7360,-14400,270,1,0)
call CreateDestructable('Ytlc',7488,-14400,270,1,0)
call CreateDestructableZ('Ytlc',7616,-14400,2,270,1,0)
call CreateDestructableZ('Ytlc',7744,-14400,26.94,270,1,0)
call CreateDestructableZ('Ytlc',7872,-14400,62,270,1,0)
call CreateDestructableZ('Ytlc',8000,-14400,70.37,270,1,0)
call CreateDestructableZ('Ytlc',8128,-14400,48.5,270,1,0)
call CreateDestructableZ('Ytlc',8256,-14400,37.5,270,1,0)
call CreateDestructableZ('Ytlc',8384,-14400,60.19,270,1,0)
call CreateDestructable('Ytlc',7232,-14400,270,1,0)
call CreateDestructable('Ytlc',7104,-14400,270,1,0)
call CreateDestructable('Ytlc',6976,-14400,270,1,0)
call CreateDestructableZ('Ytlc',5824,-14400,132.5,270,1,0)
call CreateDestructableZ('Ytlc',5952,-14400,69.62,270,1,0)
call CreateDestructableZ('Ytlc',6080,-14400,17,270,1,0)
call CreateDestructableZ('Ytlc',6208,-14400,-.25,270,1,0)
call CreateDestructable('Ytlc',6336,-14400,270,1,0)
call CreateDestructable('Ytlc',6464,-14400,270,1,0)
call CreateDestructable('Ytlc',6592,-14400,270,1,0)
call CreateDestructable('Ytlc',6720,-14400,270,1,0)
call CreateDestructable('Ytlc',6848,-14400,270,1,0)
call CreateDestructableZ('Ytlc',5696,-14400,146.37,270,1,0)
call CreateDestructableZ('Ytlc',5568,-14400,97,270,1,0)
call CreateDestructableZ('Ytlc',5440,-14400,43.13,270,1,0)
call CreateDestructableZ('Ytlc',4288,-14400,32.75,270,1,0)
call CreateDestructableZ('Ytlc',4416,-14400,37.25,270,1,0)
call CreateDestructableZ('Ytlc',4544,-14400,28,270,1,0)
call CreateDestructableZ('Ytlc',4672,-14400,26.25,270,1,0)
call CreateDestructableZ('Ytlc',4800,-14400,30.5,270,1,0)
call CreateDestructableZ('Ytlc',4928,-14400,34.63,270,1,0)
call CreateDestructableZ('Ytlc',5056,-14400,45.63,270,1,0)
call CreateDestructableZ('Ytlc',5184,-14400,48.13,270,1,0)
call CreateDestructableZ('Ytlc',5312,-14400,34.25,270,1,0)
call CreateDestructableZ('Ytlc',4160,-14400,11.94,270,1,0)
call CreateDestructableZ('Ytlc',4032,-14400,-.56,270,1,0)
call CreateDestructable('Ytlc',3904,-14400,270,1,0)
call CreateDestructable('Ytlc',3776,-14400,270,1,0)
call CreateDestructable('Ytlc',3648,-14400,270,1,0)
call CreateDestructable('Ytlc',3520,-14400,270,1,0)
call CreateDestructable('Ytlc',3392,-14400,270,1,0)
call CreateDestructable('Ytlc',3264,-14400,270,1,0)
call CreateDestructable('Ytlc',3136,-14400,270,1,0)
call CreateDestructable('Ytlc',3008,-14400,270,1,0)
call CreateDestructable('Ytlc',2880,-14400,270,1,0)
call CreateDestructable('Ytlc',2752,-14400,270,1,0)
call CreateDestructable('Ytlc',2624,-14400,270,1,0)
call CreateDestructable('Ytlc',2496,-14400,270,1,0)
call CreateDestructable('Ytlc',2368,-14400,270,1,0)
call CreateDestructable('Ytlc',2240,-14400,270,1,0)
call CreateDestructable('Ytlc',2112,-14400,270,1,0)
call CreateDestructableZ('Ytlc',1984,-14400,-.31,270,1,0)
call CreateDestructableZ('Ytlc',1856,-14400,-.88,270,1,0)
call CreateDestructableZ('Ytlc',1728,-14400,-1.31,270,1,0)
call CreateDestructableZ('Ytlc',1600,-14400,-.75,270,1,0)
call CreateDestructableZ('Ytlc',1472,-14400,38.25,270,1,0)
call CreateDestructableZ('Ytlc',1344,-14400,99.5,270,1,0)
call CreateDestructableZ('Ytlc',1216,-14400,123.25,270,1,0)
call CreateDestructableZ('Ytlc',1088,-14400,157.19,270,1,0)
call CreateDestructableZ('Ytlc',960,-14400,240,270,1,0)
call CreateDestructableZ('Ytlc',832,-14400,254.81,270,1,0)
call CreateDestructableZ('Ytlc',704,-14400,144.69,270,1,0)
call CreateDestructableZ('Ytlc',576,-14400,36.5,270,1,0)
call CreateDestructableZ('Ytlc',448,-14400,1.81,270,1,0)
call CreateDestructable('Ytlc',320,-14400,270,1,0)
call CreateDestructable('Ytlc',192,-14400,270,1,0)
call CreateDestructable('Ytlc',64,-14400,270,1,0)
call CreateDestructable('Ytlc',-64,-14400,270,1,0)
call CreateDestructable('Ytlc',-192,-14400,270,1,0)
call CreateDestructable('Ytlc',-320,-14400,270,1,0)
call CreateDestructable('Ytlc',-448,-14400,270,1,0)
call CreateDestructable('Ytlc',-576,-14400,270,1,0)
call CreateDestructable('Ytlc',-704,-14400,270,1,0)
call CreateDestructable('Ytlc',-832,-14400,270,1,0)
call CreateDestructable('Ytlc',-960,-14400,270,1,0)
call CreateDestructable('Ytlc',-1088,-14400,270,1,0)
call CreateDestructable('Ytlc',-1216,-14400,270,1,0)
call CreateDestructable('Ytlc',-1344,-14400,270,1,0)
call CreateDestructable('Ytlc',-1472,-14400,270,1,0)
call CreateDestructable('Ytlc',-1600,-14400,270,1,0)
call CreateDestructable('Ytlc',-1728,-14400,270,1,0)
call CreateDestructable('Ytlc',-1856,-14400,270,1,0)
call CreateDestructable('Ytlc',-1984,-14400,270,1,0)
call CreateDestructableZ('B009',20448,-14304,614.58,270,.81,2)
call CreateDestructableZ('B009',20256,-14304,350.53,270,1.08,2)
call CreateDestructableZ('B009',19936,-14304,64.55,270,1.03,0)
call CreateDestructable('B009',19680,-14304,270,1.02,0)
call CreateDestructable('B009',19424,-14304,270,1,2)
call CreateDestructableZ('B009',19168,-14304,2.56,270,.88,0)
call CreateDestructableZ('B009',18912,-14304,106.23,270,1.16,0)
call CreateDestructableZ('B009',18720,-14240,372.47,270,1.08,0)
call CreateDestructableZ('B009',18592,-14304,514.89,270,1.02,1)
call CreateDestructableZ('B009',18464,-14304,685.11,270,1.09,0)
call CreateDestructableZ('B009',18272,-14304,657.77,270,1.09,1)
call CreateDestructableZ('B009',18144,-14304,463.67,270,.96,0)
call CreateDestructableZ('B009',17888,-14304,165.19,270,.99,2)
call CreateDestructableZ('B009',17760,-14304,56.28,270,1.11,0)
call CreateDestructable('B009',17504,-14240,270,1.07,0)
call CreateDestructable('B009',17312,-14304,270,1.15,0)
call CreateDestructable('B009',17120,-14304,270,1.1,0)
call CreateDestructable('B009',16928,-14304,270,.82,2)
call CreateDestructable('B009',16736,-14304,270,1.01,1)
call CreateDestructable('B009',16480,-14304,270,1.18,2)
call CreateDestructable('B009',16608,-14304,270,.88,1)
call CreateDestructable('B009',16352,-14304,270,.97,2)
call CreateDestructable('B009',16096,-14304,270,.93,0)
call CreateDestructable('B009',15904,-14304,270,1.1,0)
call CreateDestructable('B009',15712,-14304,270,1.15,2)
call CreateDestructable('B009',15520,-14304,270,.86,1)
call CreateDestructable('B009',15328,-14304,270,1.05,2)
call CreateDestructable('B009',15136,-14304,270,1.01,0)
call CreateDestructable('B009',14880,-14304,270,.8,2)
call CreateDestructable('B009',14688,-14304,270,1.16,0)
call CreateDestructable('B009',14432,-14304,270,1.19,0)
call CreateDestructable('B009',14176,-14304,270,1.18,0)
call CreateDestructable('B009',13856,-14304,270,1.17,1)
call CreateDestructable('B009',13600,-14304,270,1.12,1)
call CreateDestructable('B009',13344,-14304,270,1.05,0)
call CreateDestructable('B009',13152,-14304,270,.89,0)
call CreateDestructable('B009',12896,-14304,270,1.03,2)
call CreateDestructable('B009',12704,-14304,270,1.19,1)
call CreateDestructableZ('B009',12512,-14304,-.38,270,.98,1)
call CreateDestructableZ('B009',12320,-14304,72.42,270,.98,1)
call CreateDestructableZ('B00A',9504,-14304,10.23,270,1.02,1)
call CreateDestructableZ('B00A',9376,-14304,-2.66,270,.95,1)
call CreateDestructableZ('B00A',9248,-14304,-8.13,270,1.08,2)
call CreateDestructableZ('B00A',9056,-14304,-3.25,270,.89,1)
call CreateDestructableZ('B00A',8864,-14304,-1.23,270,1.02,1)
call CreateDestructableZ('B00A',8672,-14304,53.27,270,.84,1)
call CreateDestructableZ('B00A',8288,-14304,85.31,270,.97,1)
call CreateDestructableZ('B00A',7904,-14304,121.86,270,.82,2)
call CreateDestructableZ('B00A',7712,-14304,28.81,270,1.19,1)
call CreateDestructableZ('B00A',7520,-14304,-.05,270,.83,0)
call CreateDestructable('B00A',7328,-14304,270,.91,1)
call CreateDestructable('B00A',7136,-14304,270,1.14,0)
call CreateDestructable('B00A',6944,-14304,270,1.06,0)
call CreateDestructable('B00A',6752,-14304,270,.96,1)
call CreateDestructable('B00A',6560,-14304,270,.99,0)
call CreateDestructable('B00A',6368,-14304,270,1.04,0)
call CreateDestructableZ('B00A',6112,-14304,8.05,270,1.02,1)
call CreateDestructableZ('B00A',5984,-14304,50.25,270,1.15,1)
call CreateDestructableZ('B00A',5792,-14304,140.86,270,.84,1)
call CreateDestructableZ('B00A',5472,-14304,52.97,270,.88,2)
call CreateDestructableZ('B00A',5152,-14304,60.42,270,.93,0)
call CreateDestructableZ('B00A',4768,-14304,34.81,270,.86,2)
call CreateDestructableZ('B00A',4576,-14304,28,270,1.12,0)
call CreateDestructableZ('B00A',4384,-14304,46.33,270,1.05,0)
call CreateDestructableZ('B00A',4128,-14304,35.23,270,.94,2)
call CreateDestructableZ('B00A',3872,-14304,4.19,270,.95,1)
call CreateDestructable('B00A',3680,-14304,270,1.16,0)
call CreateDestructable('B00A',3424,-14304,270,1.18,2)
call CreateDestructable('B00A',3232,-14304,270,1.16,1)
call CreateDestructable('B00A',3040,-14304,270,.89,0)
call CreateDestructable('B00A',2848,-14304,270,.87,2)
call CreateDestructable('B00A',2656,-14304,270,.94,2)
call CreateDestructable('B00A',2336,-14304,270,.96,1)
call CreateDestructable('B00A',2464,-14304,270,1.06,1)
call CreateDestructableZ('B00A',2144,-14304,2.66,270,.99,2)
call CreateDestructableZ('B00A',1952,-14304,28.86,270,1.16,2)
call CreateDestructableZ('B00A',1760,-14304,62.88,270,.99,0)
call CreateDestructableZ('B009',12000,-14304,378.56,270,.86,1)
call CreateDestructable('B00A',-2016,-4128,270,.93,1)
call CreateDestructableZ('B009',21600,-14240,449.09,270,1.17,0)
call CreateDestructableZ('B009',21792,-14240,280.31,270,.9,2)
call CreateDestructable('B00A',-2016,-2848,270,1.09,0)
call CreateDestructable('B00A',-2016,-3040,270,.93,0)
call CreateDestructable('B00A',-2016,-7008,270,1.01,0)
call CreateDestructableZ('B00A',-2016,-6880,-.55,270,1.06,2)
call CreateDestructableZ('B00A',-1952,-6752,-10.63,270,1.06,2)
call CreateDestructableZ('B00A',-2016,-6496,-31.77,270,.85,2)
call CreateDestructable('B00A',-2016,-7648,270,1.08,2)
call CreateDestructable('B00A',-2016,-7840,270,.97,1)
call CreateDestructable('B00A',-2016,-8160,270,.94,1)
call CreateDestructable('B00A',-2016,-8416,270,1.03,0)
call CreateDestructable('B00A',-2016,-8736,270,.99,1)
call CreateDestructable('B00A',-2016,-9056,270,1.07,2)
call CreateDestructable('B00A',-2016,-9696,270,.96,2)
call CreateDestructable('B00A',-2016,-9312,270,1.07,0)
call CreateDestructable('B00A',-2016,-9568,270,1.18,2)
call CreateDestructable('B00A',-2016,-9888,270,1.02,2)
call CreateDestructable('B00A',-2016,-10144,270,.87,0)
call CreateDestructable('B00A',-2016,-10336,270,.9,0)
call CreateDestructable('B00A',-2016,-10528,270,.93,1)
call CreateDestructable('B00A',-2016,-10720,270,.84,2)
call CreateDestructable('B00A',-2016,-10976,270,1.03,2)
call CreateDestructableZ('B00A',-2016,-11232,-.14,270,1.19,2)
call CreateDestructable('B00A',1312,-10272,270,1.14,0)
call CreateDestructable('B00A',1248,-7968,270,.98,2)
call CreateDestructable('B00A',1568,-8032,270,.91,1)
call CreateDestructable('B00A',1248,-8352,270,1.18,1)
call CreateDestructable('B00A',1376,-8224,270,1.16,0)
call CreateDestructableZ('B00A',2528,-8608,6.75,270,1.1,0)
call CreateDestructable('B00A',2272,-8672,270,1.12,0)
call CreateDestructable('B00A',2144,-8544,270,1.1,2)
call CreateDestructableZ('B00A',2336,-8352,2.8,270,1.06,1)
call CreateDestructable('B00A',1952,-9376,270,.94,2)
call CreateDestructable('B00A',2656,-10528,270,.97,1)
call CreateDestructable('B00A',2464,-10336,270,1.07,2)
call CreateDestructable('B00A',2720,-10208,270,.91,0)
call CreateDestructable('B00A',3168,-9888,270,.87,0)
call CreateDestructable('B00A',3360,-10080,270,1.01,2)
call CreateDestructable('B00A',3040,-10016,270,.93,2)
call CreateDestructable('B00A',3232,-9632,270,1.16,2)
call CreateDestructable('B00A',4512,-10144,270,.91,1)
call CreateDestructable('B00A',4576,-10016,270,.86,0)
call CreateDestructable('B00A',4448,-9248,270,1.03,2)
call CreateDestructable('B00A',4832,-9440,270,.86,2)
call CreateDestructable('B00A',4896,-9312,270,1.04,0)
call CreateDestructable('B00A',6240,-9504,270,.86,0)
call CreateDestructable('B00A',6112,-9696,270,1.17,1)
call CreateDestructable('B00A',5856,-9568,270,.94,2)
call CreateDestructable('B00A',6048,-9376,270,.93,1)
call CreateDestructable('B00A',6048,-9184,270,1.06,1)
call CreateDestructable('B00A',7008,-8800,270,.89,1)
call CreateDestructable('B00A',6816,-8864,270,1.18,1)
call CreateDestructable('B00A',6880,-8672,270,1,2)
call CreateDestructable('B00A',7968,-7584,270,.98,0)
call CreateDestructable('B00A',8160,-7712,270,.88,0)
call CreateDestructable('B00A',8096,-7520,270,.85,1)
call CreateDestructableZ('B00A',8288,-8608,2.2,270,1.08,1)
call CreateDestructableZ('B00A',8096,-8672,.7,270,.87,0)
call CreateDestructable('B00A',8160,-8480,270,1.08,0)
call CreateDestructable('B00A',8096,-8288,270,.83,2)
call CreateDestructable('B00A',7584,-8672,270,.81,2)
call CreateDestructable('B00A',7456,-8672,270,1.17,1)
call CreateDestructable('B00A',7584,-8480,270,.84,1)
call CreateDestructableZ('Ytlc',18112,-14400,262.06,270,1,0)
call CreateDestructableZ('B00A',8928,-8352,19.17,270,.9,2)
call CreateDestructableZ('B00A',8736,-8416,19.31,270,.93,1)
call CreateDestructableZ('B00A',8736,-8224,113.53,270,.82,2)
call CreateDestructableZ('B00A',8608,-8096,54.13,270,1.09,1)
call CreateDestructableZ('B00A',8800,-7968,89.95,270,1.03,0)
call CreateDestructable('YTfb',1440,-4448,270,1,0)
call CreateDestructableZ('CTtc',4192,-20576,146.69,270,1.15,1)
call CreateDestructableZ('CTtc',3232,-20576,128,270,1.15,1)
call CreateDestructableZ('CTtc',2656,-20576,128,270,1.15,1)
call CreateDestructableZ('B007',17440,-3680,819.72,270,.95,0)
call CreateDestructableZ('B007',17120,-4256,818.44,270,1.09,2)
call CreateDestructableZ('CTtc',1568,-20576,128,270,1.15,1)
call CreateDestructableZ('CTtc',10144,-19936,256,270,1.1,1)
call CreateDestructableZ('CTtc',10208,-18784,256,270,1.1,1)
call CreateDestructableZ('CTtc',2976,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',4960,-22496,278,270,.99,0)
call CreateDestructableZ('CTtc',4768,-22496,278,270,.99,0)
call CreateDestructableZ('CTtc',8544,-16736,256,270,.99,0)
call CreateDestructableZ('CTtc',8544,-21280,256,270,.99,0)
call CreateDestructableZ('B007',15072,-1824,111.98,270,.95,0)
call CreateDestructableZ('CTtc',6496,-22304,256,270,.99,0)
call CreateDestructableZ('CTtc',5856,-22496,278,270,.99,0)
call CreateDestructableZ('CTtc',6240,-22496,261.5,270,.99,0)
call CreateDestructableZ('CTtc',6112,-22496,278,270,.99,0)
call CreateDestructableZ('CTtc',6496,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',7008,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',6816,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',7264,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',736,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',992,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',1248,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',1696,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',1504,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',1952,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',2528,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',2272,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',2848,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',3808,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',4256,-22496,283.16,270,.99,0)
call CreateDestructableZ('CTtc',4064,-22496,255.81,270,.99,0)
call CreateDestructableZ('CTtc',3680,-22496,256,270,.99,0)
call CreateDestructableZ('CTtc',3488,-22496,256,270,.99,0)
call CreateDestructableZ('B007',15008,-1632,81.58,270,1.11,1)
call CreateDestructableZ('CTtc',3232,-22496,256,270,.99,0)
call CreateDestructableZ('B007',15008,-1504,98.09,270,1.07,2)
call CreateDestructableZ('B007',15008,-1440,107.03,270,.88,0)
call CreateDestructableZ('CTtc',4576,-22496,278,270,.99,0)
call CreateDestructableZ('CTtc',4448,-22240,278,270,.99,0)
call CreateDestructableZ('CTtc',5728,-22496,278,270,.99,0)
call CreateDestructableZ('CTtc',5472,-22496,278,270,.99,0)
call CreateDestructableZ('CTtc',5280,-22496,278,270,.99,0)
call CreateDestructableZ('CTtr',8512,-20928,256,270,1.09,4)
call CreateDestructableZ('CTtr',8512,-21056,256,270,1.02,3)
call CreateDestructableZ('CTtr',7808,-21696,256,270,1.09,0)
call CreateDestructableZ('B007',15008,-1376,106.73,270,.92,0)
call CreateDestructableZ('B007',14944,-1312,154.28,270,.92,2)
call CreateDestructableZ('B007',14944,-1248,133.17,270,1.2,2)
call CreateDestructableZ('B007',14816,-1184,273.12,270,.85,1)
call CreateDestructableZ('B007',13472,928,217.61,270,.81,2)
call CreateDestructableZ('B007',13408,864,196.52,270,.86,2)
call CreateDestructableZ('B007',13408,-32,151.28,270,.96,2)
call CreateDestructableZ('B007',13472,-352,122.34,270,1.12,2)
call CreateDestructableZ('B007',14624,-864,80.62,270,1.18,1)
call CreateDestructableZ('B007',13472,-224,207.25,270,.81,2)
call CreateDestructableZ('B007',14560,-672,111.92,270,.9,0)
call CreateDestructableZ('B007',17056,-4320,590.44,270,1.13,2)
call CreateDestructableZ('B007',16928,-4192,571.17,270,1,2)
call CreateDestructableZ('B007',16800,-4256,318.77,270,1.18,0)
call CreateDestructable('B007',22432,-11744,270,.85,0)
call CreateDestructable('B007',22432,-11872,270,.81,1)
call CreateDestructableZ('B007',16736,-4192,345.55,270,1.04,0)
call CreateDestructableZ('B007',16736,-4128,450.52,270,.87,1)
call CreateDestructable('B007',22496,-12064,270,1.18,0)
call CreateDestructable('B007',22496,-12192,270,.85,0)
call CreateDestructable('B007',22496,-12256,270,1.15,1)
call CreateDestructable('B007',22496,-12384,270,1.09,0)
call CreateDestructable('B007',22496,-12448,270,.96,2)
call CreateDestructable('B007',22496,-12576,270,.94,1)
call CreateDestructable('B007',22496,-12704,270,1.04,2)
call CreateDestructable('B007',22496,-12768,270,.87,2)
call CreateDestructableZ('B007',21984,-14368,30.89,270,1.17,2)
call CreateDestructableZ('B007',22048,-14368,-.42,270,1.05,0)
call CreateDestructableZ('B007',16928,-4256,485.39,270,.85,0)
call CreateDestructable('B007',22176,-14368,270,1.05,1)
call CreateDestructableZ('B007',16736,-1696,508.44,270,1.06,0)
call CreateDestructableZ('B007',13856,-288,815.27,270,1.02,0)
call CreateDestructableZ('B007',13792,-352,647.45,270,1.01,2)
call CreateDestructableZ('CTtr',7936,-21824,256,270,1.15,2)
call CreateDestructable('B007',22304,-14368,270,.95,0)
call CreateDestructableZ('B007',13664,-352,455.95,270,.94,2)
call CreateDestructableZ('B007',13472,-32,233.12,270,1.06,0)
call CreateDestructableZ('B007',14496,-5856,155.05,270,.88,2)
call CreateDestructableZ('B007',13408,160,167.06,270,.93,1)
call CreateDestructableZ('CTtr',8064,-21824,256,270,.8,1)
call CreateDestructableZ('CTtc',9760,-17952,256,270,.97,1)
call CreateDestructableZ('CTtc',9824,-17696,256,270,.97,1)
call CreateDestructableZ('B007',21216,-8352,191.12,270,.82,1)
call CreateDestructableZ('B007',13792,-1440,467.16,270,1.02,0)
call CreateDestructableZ('B007',13792,-1504,340.97,270,1.15,2)
call CreateDestructable('B007',22432,-14368,270,.98,0)
call CreateDestructable('B007',22432,-14112,270,1.12,1)
call CreateDestructableZ('B007',13728,-2464,587.23,270,.82,1)
call CreateDestructable('B007',22432,-14304,270,1.11,0)
call CreateDestructable('B007',22432,-14240,270,1.07,1)
call CreateDestructable('B007',22432,-14176,270,.82,0)
call CreateDestructable('B007',22432,-14048,270,.84,2)
call CreateDestructable('B007',22432,-13920,270,.94,1)
call CreateDestructable('B007',22432,-13856,270,.83,2)
call CreateDestructable('B007',22432,-13792,270,1.16,0)
call CreateDestructableZ('B007',13728,-2528,464.95,270,1,0)
call CreateDestructable('B007',22432,-13728,270,.83,0)
call CreateDestructable('B007',22432,-13664,270,.93,1)
call CreateDestructable('B007',22432,-13600,270,.87,2)
call CreateDestructable('B007',22432,-13536,270,1.04,1)
call CreateDestructable('B007',22432,-13472,270,1.18,0)
call CreateDestructable('B007',22432,-13344,270,1.08,2)
call CreateDestructable('B007',22432,-13280,270,.83,0)
call CreateDestructable('B007',22432,-13216,270,1.1,0)
call CreateDestructable('B007',22432,-13088,270,.96,1)
call CreateDestructable('B007',22432,-13024,270,.85,0)
call CreateDestructable('B007',22368,-12896,270,1.11,2)
call CreateDestructableZ('B007',21216,-12896,315.37,270,.91,1)
call CreateDestructableZ('B007',21344,-12256,61.64,270,.95,2)
call CreateDestructableZ('B007',21216,-12384,62.64,270,1.01,0)
call CreateDestructableZ('B007',21152,-12768,272.87,270,1.02,2)
call CreateDestructableZ('B007',21088,-12896,458.14,270,.99,2)
call CreateDestructableZ('B007',21088,-12832,394.05,270,.95,2)
call CreateDestructableZ('B007',21088,-12768,337.69,270,1.16,0)
call CreateDestructableZ('B007',21024,-12640,318.19,270,.9,2)
call CreateDestructableZ('B007',20960,-12448,338.91,270,1.06,2)
call CreateDestructableZ('B007',20832,-12256,331.77,270,.87,1)
call CreateDestructableZ('B007',19872,-11424,85.47,270,1.04,1)
call CreateDestructableZ('B007',19872,-11360,56.95,270,.99,1)
call CreateDestructableZ('B007',19936,-11424,45.28,270,.81,0)
call CreateDestructableZ('CTtc',9568,-17760,256,270,.97,1)
call CreateDestructableZ('CTtc',7968,-15904,256,270,1.18,1)
call CreateDestructableZ('CTtc',9056,-17248,256,270,1,0)
call CreateDestructableZ('CTtc',9440,-17568,256,270,.9,1)
call CreateDestructableZ('CTtc',8224,-16352,256,270,1.19,2)
call CreateDestructableZ('B007',13792,-2528,489.11,270,.99,2)
call CreateDestructableZ('B007',13856,-2592,353.42,270,.81,0)
call CreateDestructableZ('B007',13728,-1632,68.77,270,1.15,0)
call CreateDestructableZ('B007',13664,-1568,94.44,270,1.12,1)
call CreateDestructableZ('B007',13664,-1632,36.69,270,.91,1)
call CreateDestructableZ('B007',13600,-1632,21.19,270,.91,0)
call CreateDestructableZ('B007',13472,-1760,52.3,270,.98,0)
call CreateDestructableZ('B007',13664,-2656,167.69,270,.92,2)
call CreateDestructableZ('B007',13600,-2848,.84,270,.94,2)
call CreateDestructableZ('CTtc',7712,-15776,256,270,.94,1)
call CreateDestructableZ('B007',13664,-2912,.84,270,.99,2)
call CreateDestructableZ('B007',13664,-2848,2.53,270,.94,1)
call CreateDestructableZ('B007',13728,-2848,4.08,270,.92,1)
call CreateDestructableZ('CTtc',7840,-15648,256,270,1.13,0)
call CreateDestructableZ('CTtc',7712,-15584,256,270,1.04,1)
call CreateDestructableZ('CTtc',7776,-15904,256,270,.9,0)
call CreateDestructableZ('CTtc',7200,-15456,256,270,.85,0)
call CreateDestructableZ('CTtc',9696,-17504,256,270,.97,1)
call CreateDestructableZ('CTtc',9440,-17376,256,270,1.07,1)
call CreateDestructableZ('CTtc',7456,-15520,256,270,.85,0)
call CreateDestructableZ('CTtc',9376,-17376,256,270,1.05,0)
call CreateDestructableZ('CTtc',8096,-15968,256,270,.8,2)
call CreateDestructable('B00A',3872,-7584,270,1.02,1)
call CreateDestructableZ('YTfb',10272,-3040,176.84,270,1,0)
call CreateDestructable('YTfb',1440,-4512,270,1,0)
call CreateDestructable('B00A',-2016,-4896,270,1.16,1)
call CreateDestructableZ('YTfb',10272,-3104,151.47,270,1,0)
call CreateDestructableZ('YTfb',3872,-6688,-32,270,1,0)
call CreateDestructable('B007',13024,-9632,270,.96,0)
call CreateDestructableZ('B007',13280,-9952,-.42,270,1.08,0)
call CreateDestructableZ('B00A',6368,-7072,-120.05,270,1.17,1)
call CreateDestructable('B00A',6880,-7584,270,.81,0)
call CreateDestructableZ('B00A',3296,-1120,-113.75,270,1.06,2)
call CreateDestructableZ('B00A',3424,-1056,-105.61,270,1.03,2)
call CreateDestructableZ('B00A',1632,-4640,-24,270,1,2)
call CreateDestructableZ('B00A',3232,-1056,-107.25,270,.84,1)
call CreateDestructableZ('B00A',4896,-736,1.59,270,1.13,0)
call CreateDestructableZ('B00A',4192,-1184,-147.34,270,1.18,0)
call CreateDestructable('YTfb',3808,-6752,270,1,0)
call CreateDestructableZ('B00A',4128,-1056,-80.81,270,.91,2)
call CreateDestructableZ('B00A',1760,-4256,-24,270,.85,0)
call CreateDestructableZ('B00A',3360,-928,-8.08,270,.92,2)
call CreateDestructable('B00A',2720,-1248,270,.89,1)
call CreateDestructable('B00A',2656,-1440,270,.89,1)
call CreateDestructable('B00A',2720,-1888,270,.9,1)
call CreateDestructable('B00A',2592,-2144,270,.85,0)
call CreateDestructable('B00A',2784,-2144,270,1.08,0)
call CreateDestructable('B00A',2656,-2528,270,.87,0)
call CreateDestructable('B00A',2656,-2784,270,1.15,1)
call CreateDestructableZ('B00A',2784,-2976,-24,270,1.08,1)
call CreateDestructable('B00A',2848,-2592,270,1.19,0)
call CreateDestructableZ('B008',20288,-4480,162.37,270,1.08,6)
call CreateDestructableZ('B00A',2976,-3488,-128,270,.81,0)
call CreateDestructableZ('B00A',2976,-3232,-128,270,1.06,0)
call CreateDestructableZ('B00A',2784,-3360,-132,270,1.1,0)
call CreateDestructableZ('B00A',2464,-4000,-128,270,.88,1)
call CreateDestructableZ('B00A',2272,-4064,-128,270,1.08,2)
call CreateDestructableZ('B00A',2208,-3936,-104,270,1.04,1)
call CreateDestructable('B00A',2208,-3488,270,1.06,0)
call CreateDestructable('B00A',1888,-3872,270,.98,2)
call CreateDestructable('B00A',1568,-3808,270,1,0)
call CreateDestructable('B00A',1696,-4128,270,.93,1)
call CreateDestructableZ('B00A',2016,-4256,-128,270,1.03,2)
call CreateDestructableZ('B00A',1824,-4512,-128,270,1.04,2)
call CreateDestructableZ('B00A',1824,-4576,-128,270,.95,1)
call CreateDestructableZ('B00A',1952,-4576,-128,270,.84,0)
call CreateDestructable('B00A',1568,-4192,270,1.03,1)
call CreateDestructable('B00A',1504,-4448,270,1.15,2)
call CreateDestructableZ('B00A',1824,-4704,-128,270,1.19,2)
call CreateDestructableZ('B00A',1760,-5024,-96,270,.84,0)
call CreateDestructable('B00A',1504,-5152,270,1.02,0)
call CreateDestructableZ('B00A',1696,-5216,-8,270,1.12,2)
call CreateDestructableZ('B00A',2144,-5344,-128,270,.83,0)
call CreateDestructable('B00A',2016,-5536,270,.96,2)
call CreateDestructable('B00A',2016,-6048,270,.84,1)
call CreateDestructableZ('B00A',2464,-5600,-128,270,.85,2)
call CreateDestructableZ('B00A',3168,-5984,-160.94,270,.9,2)
call CreateDestructableZ('B00A',2976,-6304,-32,270,.88,1)
call CreateDestructableZ('B00A',2976,-6368,-32,270,.93,2)
call CreateDestructableZ('B00A',2336,-5728,-128,270,.8,1)
call CreateDestructableZ('B00A',2464,-5984,-44,270,1.13,2)
call CreateDestructableZ('B00A',352,-12000,1.55,270,.8,2)
call CreateDestructable('B00A',1952,-5920,270,.85,2)
call CreateDestructable('B00A',1824,-5920,270,.83,1)
call CreateDestructable('B00A',1760,-5472,270,.89,0)
call CreateDestructable('B00A',2208,-12000,270,.8,2)
call CreateDestructableZ('B00A',2976,-6752,61.09,270,.95,1)
call CreateDestructableZ('B00A',3104,-6752,5.91,270,1.19,1)
call CreateDestructableZ('B00A',3424,-6112,-122.14,270,1.15,0)
call CreateDestructable('B00A',3360,-6816,270,1.18,0)
call CreateDestructable('B00A',3360,-6880,270,.87,1)
call CreateDestructable('B00A',3424,-7008,270,1.1,0)
call CreateDestructable('B00A',3680,-7200,270,1.17,2)
call CreateDestructable('B00A',3808,-7200,270,.98,0)
call CreateDestructableZ('B00A',3872,-7136,-.05,270,1.04,2)
call CreateDestructableZ('B00A',3872,-6624,-32,270,1.15,1)
call CreateDestructableZ('B00A',3872,-6560,-32,270,.95,2)
call CreateDestructableZ('B00A',3488,-6496,-33.22,270,1.11,1)
call CreateDestructable('B00A',3680,-6752,270,.83,1)
call CreateDestructableZ('B00A',4192,-6752,-128,270,1.12,1)
call CreateDestructableZ('B00A',4128,-7328,-17.11,270,1,0)
call CreateDestructable('B00A',3808,-7712,270,.98,1)
call CreateDestructable('B00A',3872,-7776,270,1.17,2)
call CreateDestructable('B00A',4128,-7840,270,.82,0)
call CreateDestructableZ('B00A',4384,-7840,-93.81,270,.88,0)
call CreateDestructable('B00A',3872,-7648,270,.89,2)
call CreateDestructableZ('B00A',4640,-7648,-124.87,270,1.11,1)
call CreateDestructable('B00A',4192,-8224,270,1.07,1)
call CreateDestructable('B00A',4320,-8672,270,1.03,0)
call CreateDestructableZ('B00A',4512,-8416,-32,270,.84,1)
call CreateDestructable('B00A',4640,-8864,270,.97,0)
call CreateDestructable('B00A',5152,-8928,270,1.19,1)
call CreateDestructable('B00A',4704,-8544,270,.9,2)
call CreateDestructable('B00A',4640,-8480,270,.93,1)
call CreateDestructable('B00A',4448,-8160,270,1.04,1)
call CreateDestructable('B00A',4704,-8992,270,.84,2)
call CreateDestructableZ('B00A',-736,-11744,18.27,270,.8,2)
call CreateDestructable('B00A',5472,-8544,270,1.09,0)
call CreateDestructable('B00A',6688,-8032,270,.8,2)
call CreateDestructable('B00A',4832,-8672,270,.96,2)
call CreateDestructable('B00A',4960,-8544,270,.88,1)
call CreateDestructableZ('B00A',5216,-8480,-24,270,1.16,2)
call CreateDestructable('B00A',5280,-8544,270,1.01,0)
call CreateDestructable('B00A',5280,-8608,270,.93,2)
call CreateDestructable('B00A',5280,-8992,270,.8,2)
call CreateDestructableZ('B00A',4832,-8032,-128,270,1.15,1)
call CreateDestructableZ('B00A',5152,-8544,-24,270,1.16,1)
call CreateDestructableZ('B00A',4960,-8160,-128,270,.95,1)
call CreateDestructableZ('B00A',4320,-1248,-162.75,270,.88,1)
call CreateDestructableZ('B00A',4768,-8032,-128,270,1.05,0)
call CreateDestructableZ('B00A',4640,-7776,-119.81,270,.95,0)
call CreateDestructableZ('B00A',5984,-7776,-16.02,270,1.05,0)
call CreateDestructableZ('B00A',5920,-7712,-80.02,270,1.03,1)
call CreateDestructableZ('B00A',5792,-7520,-132.81,270,.81,1)
call CreateDestructableZ('B00A',5728,-7264,-130.75,270,1.05,2)
call CreateDestructable('B00A',6176,-7200,270,.84,1)
call CreateDestructable('B00A',6176,-7392,270,1.06,0)
call CreateDestructableZ('B00A',6048,-7648,-30.7,270,.9,0)
call CreateDestructable('B00A',6304,-7840,270,.86,0)
call CreateDestructable('B00A',6304,-7904,270,.96,1)
call CreateDestructableZ('B00A',5920,-7072,-96,270,.95,2)
call CreateDestructableZ('B00A',6368,-7264,-24,270,.98,1)
call CreateDestructable('B007',13408,-9568,270,.81,1)
call CreateDestructableZ('B00A',6432,-7008,-126.55,270,1,2)
call CreateDestructable('B00A',6368,-7648,270,1.15,0)
call CreateDestructable('B00A',6432,-7840,270,1.11,2)
call CreateDestructable('B00A',6496,-7904,270,.96,2)
call CreateDestructable('B00A',6624,-7904,270,1.11,2)
call CreateDestructableZ('B00A',6688,-7328,-24,270,.97,1)
call CreateDestructableZ('B00A',6688,-7072,-128,270,.9,1)
call CreateDestructableZ('B00A',6752,-7072,-128,270,1.04,2)
call CreateDestructableZ('B00A',6752,-6752,-125.7,270,.92,1)
call CreateDestructableZ('B00A',6688,-6688,-126.08,270,1.02,1)
call CreateDestructableZ('B00A',6944,-7264,-32,270,1.05,0)
call CreateDestructable('B00A',7264,-7520,270,1.01,2)
call CreateDestructable('B00A',7392,-7456,270,1.11,1)
call CreateDestructable('B00A',7264,-7392,270,1.14,1)
call CreateDestructableZ('B00A',4192,-1056,-82.44,270,.8,0)
call CreateDestructable('B00A',6752,-7712,270,.86,2)
call CreateDestructable('B00A',6752,-7776,270,1.08,1)
call CreateDestructable('B00A',6816,-7776,270,1.16,1)
call CreateDestructable('B00A',6880,-7712,270,.81,1)
call CreateDestructable('B00A',6944,-7648,270,.84,1)
call CreateDestructable('B00A',6688,-7456,270,.98,0)
call CreateDestructable('B00A',6624,-7456,270,1.11,0)
call CreateDestructableZ('B00A',7200,-6688,-128,270,.88,1)
call CreateDestructableZ('B00A',7520,-7072,17.25,270,1.14,1)
call CreateDestructableZ('B00A',7584,-7328,1.5,270,.85,2)
call CreateDestructable('B00A',7520,-7456,270,.99,0)
call CreateDestructableZ('B00A',7200,-6432,-113.94,270,.85,0)
call CreateDestructableZ('B00A',7264,-6496,-123.31,270,.92,2)
call CreateDestructableZ('B00A',7968,-7008,245.34,270,1.09,2)
call CreateDestructableZ('B00A',7776,-6624,-32.47,270,1.12,0)
call CreateDestructableZ('B00A',8096,-7200,27,270,1.02,1)
call CreateDestructableZ('B00A',7840,-7328,7.87,270,.83,2)
call CreateDestructableZ('B00A',7712,-7392,2.19,270,.97,0)
call CreateDestructableZ('B00A',8032,-6496,158.44,270,.81,0)
call CreateDestructableZ('B00A',8032,-6368,141.45,270,1.12,0)
call CreateDestructableZ('B00A',7456,-6496,-128,270,1.07,2)
call CreateDestructableZ('B00A',7520,-6560,-128,270,.99,0)
call CreateDestructableZ('B00A',7520,-6624,-128,270,1.08,2)
call CreateDestructableZ('B00A',8096,-5984,89.81,270,1.19,0)
call CreateDestructableZ('B00A',7520,-5856,-128.02,270,.87,2)
call CreateDestructableZ('B00A',7648,-6240,-128,270,1.17,2)
call CreateDestructableZ('B00A',7840,-6368,-14.41,270,1.01,2)
call CreateDestructableZ('B00A',7904,-5728,-.33,270,.86,0)
call CreateDestructableZ('B00A',7712,-5728,-96,270,.84,2)
call CreateDestructableZ('B00A',7712,-5792,-104,270,1.02,2)
call CreateDestructableZ('B00A',7520,-5536,-128,270,1.04,0)
call CreateDestructableZ('B00A',8032,-5408,1.59,270,1.09,0)
call CreateDestructable('B00A',7968,-5344,270,1.07,0)
call CreateDestructable('B00A',7840,-5216,270,.88,2)
call CreateDestructable('B00A',7584,-5216,270,1.2,0)
call CreateDestructableZ('B00A',7648,-5344,-24,270,1.16,2)
call CreateDestructableZ('B00A',7264,-5408,-128,270,.89,0)
call CreateDestructable('B00A',7712,-5088,270,.88,1)
call CreateDestructableZ('B00A',7648,-4704,-32,270,1.2,1)
call CreateDestructableZ('B00A',7328,-4576,-128,270,1.09,1)
call CreateDestructable('B00A',8096,-4640,270,.92,1)
call CreateDestructable('B00A',7776,-4512,270,1.1,1)
call CreateDestructable('B00A',7648,-3616,270,1.02,1)
call CreateDestructable('B00A',7584,-3552,270,1.02,0)
call CreateDestructable('B00A',7392,-3488,270,.85,2)
call CreateDestructable('B00A',7200,-3616,270,.93,0)
call CreateDestructableZ('B00A',7200,-4064,-128,270,.89,2)
call CreateDestructableZ('B00A',7264,-4128,-128.81,270,.87,1)
call CreateDestructableZ('B00A',7456,-4192,-120,270,.9,2)
call CreateDestructableZ('B00A',7520,-4192,-104,270,1.2,2)
call CreateDestructableZ('B00A',6752,-3616,-131.39,270,.89,1)
call CreateDestructableZ('B00A',7392,-3808,-72,270,.85,1)
call CreateDestructableZ('B00A',7200,-4000,-128,270,1.13,0)
call CreateDestructableZ('B00A',7264,-4000,-128,270,1.18,2)
call CreateDestructableZ('B00A',7456,-4000,-96,270,1.16,2)
call CreateDestructableZ('B00A',7520,-3808,-24,270,.91,0)
call CreateDestructable('B00A',7520,-3616,270,.89,1)
call CreateDestructableZ('B00A',7264,-1888,20.33,270,.8,2)
call CreateDestructableZ('B00A',7328,-2208,125.5,270,.98,1)
call CreateDestructableZ('B00A',7136,-2016,-32.09,270,1.01,2)
call CreateDestructableZ('B00A',6880,-2016,-128,270,1.05,2)
call CreateDestructableZ('B00A',6816,-2080,-128,270,1.12,1)
call CreateDestructableZ('B00A',7072,-2208,-115.67,270,.93,1)
call CreateDestructableZ('B00A',7008,-1440,101.19,270,.85,0)
call CreateDestructableZ('B00A',7520,-1696,270.27,270,1.04,1)
call CreateDestructableZ('B00A',7264,-1440,461.05,270,1.08,0)
call CreateDestructableZ('B00A',7200,-1376,380.45,270,1.18,2)
call CreateDestructableZ('B00A',6816,-1312,-115.55,270,1.02,1)
call CreateDestructableZ('B00A',6752,-1440,-128,270,1,0)
call CreateDestructableZ('B00A',7072,-1696,14.38,270,.94,2)
call CreateDestructableZ('B00A',7008,-800,252.3,270,1.11,0)
call CreateDestructableZ('B00A',6752,-608,313.66,270,.82,2)
call CreateDestructableZ('B00A',7456,-1824,224.72,270,.82,0)
call CreateDestructableZ('B00A',7456,-2336,206.17,270,1.02,2)
call CreateDestructableZ('B00A',6624,-352,199.77,270,.95,1)
call CreateDestructableZ('B00A',6624,-288,165.92,270,1.18,0)
call CreateDestructableZ('B00A',6560,-608,38.36,270,1.09,1)
call CreateDestructableZ('B00A',6560,-736,-73.87,270,1.05,0)
call CreateDestructableZ('B00A',6752,-800,142.03,270,.99,1)
call CreateDestructableZ('B00A',6688,-992,-112.94,270,.99,1)
call CreateDestructableZ('B00A',6688,-1056,-122.41,270,1.03,1)
call CreateDestructableZ('B00A',6816,-1120,-49.84,270,.82,2)
call CreateDestructableZ('B00A',6880,-1120,80.84,270,.94,2)
call CreateDestructableZ('B00A',6304,-224,8.92,270,1.1,0)
call CreateDestructableZ('B00A',6048,-608,-128,270,.97,1)
call CreateDestructableZ('B00A',6176,-800,-128,270,1.01,2)
call CreateDestructableZ('B00A',6304,-800,-128,270,.96,0)
call CreateDestructableZ('B00A',5984,-288,-2.11,270,1.06,2)
call CreateDestructableZ('B00A',5856,-288,62.98,270,.96,0)
call CreateDestructableZ('B00A',5856,-736,-128,270,.82,2)
call CreateDestructableZ('B00A',5664,-864,-128,270,.99,1)
call CreateDestructableZ('B00A',5664,-224,140.14,270,.99,2)
call CreateDestructableZ('B00A',5536,-288,171.97,270,.85,2)
call CreateDestructableZ('B00A',5600,-608,-118.05,270,.96,2)
call CreateDestructableZ('B00A',5792,-608,-128.09,270,.83,2)
call CreateDestructableZ('B00A',5408,-800,-128,270,.9,0)
call CreateDestructableZ('B00A',5600,-928,-128,270,.8,1)
call CreateDestructableZ('B00A',5408,-928,-128,270,1,0)
call CreateDestructableZ('B00A',5344,-928,-128,270,.99,2)
call CreateDestructableZ('B00A',5024,-864,-24.05,270,1.06,1)
call CreateDestructableZ('B00A',5088,-992,-120,270,.83,2)
call CreateDestructableZ('B00A',5216,-416,192,270,.86,1)
call CreateDestructableZ('B00A',5216,-288,157.55,270,1.12,0)
call CreateDestructableZ('B00A',3936,-800,10.94,270,1.06,0)
call CreateDestructableZ('B00A',4832,-608,-.14,270,.89,1)
call CreateDestructableZ('B00A',4896,-672,4.78,270,1.14,2)
call CreateDestructableZ('B00A',4832,-992,-96,270,.84,1)
call CreateDestructableZ('B00A',4768,-992,-96,270,.84,1)
call CreateDestructable('B00A',4576,-352,270,1.08,1)
call CreateDestructableZ('B00A',4512,-928,-24,270,.94,1)
call CreateDestructableZ('B00A',4576,-1184,-163.19,270,.98,0)
call CreateDestructableZ('B00A',4448,-1184,-145.44,270,1.17,2)
call CreateDestructable('B00A',4384,-480,270,.94,1)
call CreateDestructable('B00A',4384,-800,270,1,1)
call CreateDestructable('B00A',3168,-864,270,1.11,0)
call CreateDestructable('B00A',2912,-1312,270,.91,0)
call CreateDestructableZ('B00A',3040,-1440,-96,270,1.02,2)
call CreateDestructableZ('B00A',3232,-1504,-144,270,1.05,2)
call CreateDestructableZ('B008',20672,-4736,160.37,270,.99,3)
call CreateDestructableZ('B00A',3168,-1568,-126.83,270,.81,0)
call CreateDestructableZ('B00A',3168,-1888,-128,270,1.02,0)
call CreateDestructableZ('B00A',3168,-2272,-104,270,1.14,0)
call CreateDestructableZ('B008',20544,-4800,147.75,270,.9,2)
call CreateDestructableZ('B00A',3360,-2656,-128.03,270,1.12,0)
call CreateDestructableZ('B00A',3296,-2912,-142.77,270,1.13,1)
call CreateDestructable('B00A',2656,-3040,270,1.19,2)
call CreateDestructableZ('B00A',3232,-3296,-129.64,270,.99,0)
call CreateDestructableZ('B00A',3168,-3296,-128,270,1.06,1)
call CreateDestructableZ('B00A',3360,-3424,-128,270,.97,1)
call CreateDestructableZ('B00A',3040,-2976,-32,270,1,0)
call CreateDestructableZ('B008',20352,-4288,162,270,.99,2)
call CreateDestructableZ('B00A',3232,-3040,-137.37,270,1.16,0)
call CreateDestructableZ('B008',20544,-4224,188.25,270,.8,4)
call CreateDestructableZ('B00A',3104,-2592,-104,270,1.02,1)
call CreateDestructable('B00A',1824,-3232,270,.87,2)
call CreateDestructable('B00A',1888,-3552,270,1.18,1)
call CreateDestructableZ('B00A',2208,-4000,-128,270,.91,0)
call CreateDestructable('B00A',1824,-3808,270,1.13,2)
call CreateDestructableZ('B00A',1888,-4512,-128,270,.97,1)
call CreateDestructable('B00A',1632,-4384,270,.87,1)
call CreateDestructableZ('B00A',1568,-4768,-24,270,.86,2)
call CreateDestructableZ('B00A',1760,-4704,-120,270,.84,1)
call CreateDestructableZ('B00A',1696,-4832,-56,270,.8,2)
call CreateDestructable('B00A',1568,-5280,270,.94,2)
call CreateDestructable('B00A',1568,-5408,270,.96,2)
call CreateDestructableZ('B00A',2208,-5728,-32,270,1.08,2)
call CreateDestructableZ('B00A',2528,-5984,-68,270,1.06,1)
call CreateDestructableZ('B00A',2464,-6112,-4,270,.98,0)
call CreateDestructable('B00A',2144,-6112,270,1.18,2)
call CreateDestructableZ('B00A',2272,-5856,-96,270,.93,0)
call CreateDestructable('B00A',1696,-6368,270,.84,2)
call CreateDestructable('B00A',2272,-6240,270,.99,2)
call CreateDestructableZ('B00A',2144,-6368,-.84,270,1.08,1)
call CreateDestructableZ('B00A',2016,-6496,-.84,270,.89,1)
call CreateDestructableZ('B00A',2016,-6432,-.28,270,.94,0)
call CreateDestructable('B00A',1888,-6368,270,.88,1)
call CreateDestructableZ('B00A',2336,-6496,27.47,270,.81,0)
call CreateDestructable('B00A',3296,-7328,270,.89,1)
call CreateDestructable('B00A',3296,-7392,270,.87,1)
call CreateDestructable('B00A',3168,-7072,270,1.2,0)
call CreateDestructable('B00A',3104,-7072,270,.83,2)
call CreateDestructableZ('B00A',2976,-7392,1.95,270,.87,0)
call CreateDestructableZ('B00A',2848,-7456,.61,270,.94,2)
call CreateDestructableZ('B00A',3104,-7648,20.2,270,1.08,1)
call CreateDestructableZ('B00A',3168,-7840,15.92,270,1.06,0)
call CreateDestructableZ('B00A',3936,-7968,4.39,270,.82,1)
call CreateDestructableZ('B00A',3744,-8160,38.47,270,1.06,2)
call CreateDestructableZ('B00A',3488,-8352,34.45,270,.99,1)
call CreateDestructableZ('B00A',3616,-8352,37.92,270,.93,2)
call CreateDestructableZ('B00A',3808,-8416,16.58,270,1.12,2)
call CreateDestructableZ('B00A',3744,-8480,51.14,270,.97,0)
call CreateDestructableZ('B008',20864,-4416,182.25,270,1.15,7)
call CreateDestructableZ('B008',20800,-4736,133.5,270,.8,7)
call CreateDestructableZ('B00A',4320,-992,-84,270,.93,0)
call CreateDestructable('B00A',2912,-1696,270,.96,2)
call CreateDestructable('B00A',3232,-608,270,.98,1)
call CreateDestructable('B00A',3168,-608,270,.85,0)
call CreateDestructable('B00A',3104,-672,270,1.15,2)
call CreateDestructable('B00A',3168,-736,270,1.03,2)
call CreateDestructable('B00A',3168,-800,270,.89,1)
call CreateDestructable('B00A',3104,-736,270,.9,2)
call CreateDestructable('B00A',3040,-736,270,1.09,2)
call CreateDestructable('B00A',2976,-736,270,.94,0)
call CreateDestructable('B00A',2848,-480,270,1.17,0)
call CreateDestructable('B00A',2784,-416,270,1.14,0)
call CreateDestructable('B00A',2720,-480,270,.99,2)
call CreateDestructable('B00A',2784,-672,270,1.08,2)
call CreateDestructable('B00A',3232,-96,270,.98,0)
call CreateDestructable('B00A',3168,-32,270,.87,2)
call CreateDestructable('B00A',3360,-160,270,1.02,0)
call CreateDestructable('B00A',3360,-224,270,1,2)
call CreateDestructable('B00A',4320,32,270,.93,0)
call CreateDestructable('B00A',4192,-32,270,1.13,1)
call CreateDestructableZ('B00A',7264,-3168,-24,270,1.19,1)
call CreateDestructableZ('B00A',7072,-3424,-24,270,1.14,1)
call CreateDestructableZ('B00A',7264,-3232,-24,270,1.14,0)
call CreateDestructableZ('B00A',7200,-3168,-72,270,1.18,0)
call CreateDestructable('B00A',7328,-3424,270,1.07,2)
call CreateDestructableZ('B00A',5536,-5408,-15.2,270,.89,2)
call CreateDestructableZ('B00A',5984,-4512,-84.53,270,.95,2)
call CreateDestructableZ('B00A',6240,-4704,5.61,270,.84,0)
call CreateDestructableZ('B00A',6752,-5024,-81.19,270,.94,1)
call CreateDestructableZ('B00A',5472,-5600,-67.27,270,1.02,1)
call CreateDestructableZ('B00A',6176,-5920,103.61,270,1.09,0)
call CreateDestructableZ('B00A',6368,-5984,61.67,270,.97,2)
call CreateDestructableZ('B00A',6304,-4320,-128.8,270,1.02,0)
call CreateDestructableZ('B00A',6048,-5216,48.38,270,.94,1)
call CreateDestructableZ('B00A',6496,-4640,-17.48,270,1,0)
call CreateDestructableZ('B00A',5984,-5280,38.77,270,.96,2)
call CreateDestructableZ('B00A',6304,-6176,-78.75,270,.81,1)
call CreateDestructableZ('B00A',6048,-5792,93.8,270,.99,2)
call CreateDestructableZ('B00A',5792,-5344,-34.3,270,1.01,2)
call CreateDestructableZ('B00A',-32,2016,7.06,270,1.03,2)
call CreateDestructable('B00A',4256,-864,270,1.06,1)
call CreateDestructable('Ytlc',19520,-14400,270,1,0)
call CreateDestructableZ('YTfb',9632,-8096,170.41,270,1,0)
call CreateDestructableZ('B00A',7776,-32,381.33,270,1.08,2)
call CreateDestructableZ('B00A',8608,-800,211.62,270,1.08,1)
call CreateDestructableZ('B00A',8544,-736,270.31,270,1.08,0)
call CreateDestructableZ('B00A',8416,-736,333.77,270,1.03,0)
call CreateDestructableZ('B00A',8224,-608,336.8,270,1.11,1)
call CreateDestructableZ('B00A',8864,416,635.69,270,1,0)
call CreateDestructableZ('B00A',8800,352,532.27,270,1.05,0)
call CreateDestructableZ('B00A',8800,224,309.92,270,.8,2)
call CreateDestructableZ('B00A',8992,32,389.02,270,.82,1)
call CreateDestructableZ('B00A',9056,-32,613.14,270,.99,2)
call CreateDestructableZ('B00A',9120,-32,810.03,270,1.07,0)
call CreateDestructableZ('B00A',9120,32,805.87,270,.99,1)
call CreateDestructableZ('B00A',9184,160,682.59,270,1.07,0)
call CreateDestructableZ('B00A',9120,224,601.97,270,.97,2)
call CreateDestructableZ('B00A',9056,224,590.2,270,.9,2)
call CreateDestructableZ('B00A',8992,224,543.23,270,.83,2)
call CreateDestructableZ('B00A',8992,288,645.33,270,1.19,1)
call CreateDestructableZ('B00A',9056,288,655.86,270,.87,2)
call CreateDestructableZ('B00A',9056,352,745.58,270,.84,0)
call CreateDestructableZ('B00A',9056,1568,469.61,270,.82,0)
call CreateDestructableZ('B00A',8992,1568,470.33,270,.93,1)
call CreateDestructableZ('B00A',8928,1632,535.86,270,.87,1)
call CreateDestructableZ('B00A',9056,1632,532.58,270,1.17,2)
call CreateDestructableZ('B00A',9248,1632,398.11,270,1.1,1)
call CreateDestructableZ('B00A',9184,1632,443.3,270,1.07,2)
call CreateDestructableZ('B00A',9120,1632,493.27,270,1.06,2)
call CreateDestructableZ('B00A',8864,1696,516.33,270,.89,1)
call CreateDestructableZ('B00A',8736,1568,150.83,270,1.12,0)
call CreateDestructableZ('B00A',8992,1504,372.92,270,.99,1)
call CreateDestructableZ('B00A',9312,1504,244.86,270,1.07,2)
call CreateDestructableZ('B00A',9376,1504,186.95,270,1.19,2)
call CreateDestructableZ('B00A',7840,1760,461.59,270,.96,1)
call CreateDestructableZ('B00A',7840,1696,534.78,270,.96,0)
call CreateDestructableZ('B00A',7648,1760,420.5,270,1.2,0)
call CreateDestructableZ('B00A',7712,1696,492.72,270,1.09,1)
call CreateDestructableZ('B00A',7904,1760,450.41,270,.82,2)
call CreateDestructableZ('B00A',7968,1760,399.28,270,1.13,2)
call CreateDestructableZ('B00A',8032,1696,324.78,270,.89,2)
call CreateDestructableZ('B00A',8032,1632,307.3,270,.95,1)
call CreateDestructableZ('B00A',7968,1504,330.89,270,1.08,1)
call CreateDestructableZ('B00A',7200,1952,244.05,270,.93,0)
call CreateDestructableZ('B00A',7520,1632,546.98,270,1.09,2)
call CreateDestructableZ('B00A',7904,1440,343.25,270,1.12,2)
call CreateDestructableZ('B00A',7840,1440,395.75,270,1.1,1)
call CreateDestructableZ('B00A',10016,992,580.52,270,.95,0)
call CreateDestructableZ('B00A',9952,928,480.95,270,1.15,1)
call CreateDestructableZ('B00A',9952,864,424.61,270,.92,0)
call CreateDestructableZ('B00A',9952,800,333.95,270,1.03,0)
call CreateDestructableZ('B00A',10016,736,307.81,270,.95,2)
call CreateDestructableZ('B00A',10144,736,400.36,270,1.13,1)
call CreateDestructableZ('B00A',10336,672,256.86,270,1.09,0)
call CreateDestructableZ('B00A',10400,672,204.86,270,.95,1)
call CreateDestructableZ('B00A',10400,736,291.2,270,.93,2)
call CreateDestructableZ('B00A',10272,864,580.48,270,.88,2)
call CreateDestructableZ('B00A',10272,928,550.16,270,.84,0)
call CreateDestructableZ('B00A',10208,928,598.87,270,1.04,1)
call CreateDestructableZ('B00A',10144,928,613.37,270,.94,2)
call CreateDestructableZ('B00A',10016,864,513.87,270,.98,1)
call CreateDestructableZ('B00A',10528,-352,59.38,270,1.09,2)
call CreateDestructableZ('B00A',10336,-544,201.67,270,.96,1)
call CreateDestructableZ('B00A',10208,-672,141.86,270,1.1,1)
call CreateDestructableZ('B00A',10144,-672,245.2,270,.87,1)
call CreateDestructableZ('B00A',10080,-608,453.52,270,1.08,1)
call CreateDestructableZ('B00A',10144,-544,557.31,270,.9,1)
call CreateDestructableZ('B00A',10208,-480,584.08,270,1.18,0)
call CreateDestructableZ('B00A',10208,-544,468.69,270,1.06,1)
call CreateDestructableZ('B00A',10272,-544,350.14,270,.89,1)
call CreateDestructableZ('B00A',9248,480,475.81,270,.87,2)
call CreateDestructableZ('B00A',9184,224,578.53,270,1.01,1)
call CreateDestructableZ('B00A',9248,160,668.78,270,1.03,2)
call CreateDestructableZ('B00A',9312,160,587.47,270,1.16,2)
call CreateDestructableZ('B00A',9248,32,945.17,270,1.1,1)
call CreateDestructableZ('B00A',9248,-32,946.62,270,.84,2)
call CreateDestructableZ('B00A',9312,-32,796.25,270,.96,2)
call CreateDestructableZ('B00A',8608,224,156.87,270,.93,1)
call CreateDestructableZ('B00A',8736,96,70.11,270,1.19,0)
call CreateDestructableZ('B00A',9056,-160,410.69,270,1.05,0)
call CreateDestructableZ('B00A',9120,-160,542.23,270,.95,2)
call CreateDestructableZ('B00A',8992,-224,137.56,270,.85,2)
call CreateDestructableZ('B00A',9056,-224,239.69,270,.8,1)
call CreateDestructableZ('B00A',9568,-1120,35.81,270,.81,2)
call CreateDestructableZ('B00A',9440,-992,170.77,270,1.05,1)
call CreateDestructableZ('B00A',9440,-1056,127.97,270,.87,1)
call CreateDestructableZ('B00A',9312,-1248,8.58,270,1.07,1)
call CreateDestructableZ('B00A',10144,-1760,144.44,270,1.17,0)
call CreateDestructableZ('B00A',10144,-2016,70.92,270,.94,0)
call CreateDestructableZ('B00A',10656,-1568,278.81,270,1.06,1)
call CreateDestructableZ('B00A',10464,-1120,6.64,270,.81,2)
call CreateDestructableZ('B00A',10656,-928,26.86,270,.86,0)
call CreateDestructableZ('B00A',10144,1312,157.19,270,1.06,0)
call CreateDestructableZ('B00A',10208,1248,121.98,270,1.02,2)
call CreateDestructableZ('B00A',7520,-160,331.47,270,.83,1)
call CreateDestructableZ('B00A',7776,-544,444.37,270,1.1,0)
call CreateDestructableZ('B00A',7968,-544,393.95,270,1.19,1)
call CreateDestructableZ('B00A',7968,-608,367.73,270,.99,0)
call CreateDestructableZ('B00A',7968,-672,311.56,270,1.08,2)
call CreateDestructable('B007',13152,-3744,270,.84,1)
call CreateDestructableZ('YTfb',16160,-3040,116.84,270,1,0)
call CreateDestructableZ('B008',18944,-2752,141,270,.9,4)
call CreateDestructableZ('B008',18752,-2752,152.31,270,.97,1)
call CreateDestructableZ('B008',19072,-2816,149,270,1.1,7)
call CreateDestructableZ('B008',18944,-2240,104.25,270,.92,7)
call CreateDestructableZ('B008',19200,-2560,104.5,270,.9,3)
call CreateDestructableZ('B008',19200,-2688,122.5,270,1.03,6)
call CreateDestructableZ('B008',18816,-2240,172.75,270,.82,5)
call CreateDestructableZ('B008',19136,-960,181.25,270,1.09,6)
call CreateDestructableZ('B008',19072,-1088,172.75,270,1.19,6)
call CreateDestructableZ('B008',19072,-1280,289.25,270,.9,0)
call CreateDestructableZ('B008',19264,-1472,284.25,270,.91,5)
call CreateDestructableZ('B008',19392,-1472,264.44,270,.95,3)
call CreateDestructableZ('B008',19520,-1472,231.12,270,1.03,4)
call CreateDestructableZ('B008',19392,-960,231.94,270,.94,5)
call CreateDestructableZ('B008',19648,-1216,325.25,270,.88,7)
call CreateDestructableZ('B008',18688,1344,206.87,270,.81,4)
call CreateDestructableZ('B008',18944,1664,320.75,270,1.09,0)
call CreateDestructableZ('B008',19200,1408,87.5,270,1.19,7)
call CreateDestructableZ('B008',19200,1280,217.25,270,1.14,0)
call CreateDestructableZ('B008',18688,1472,294.5,270,1.02,2)
call CreateDestructableZ('B008',18752,1152,185.12,270,.81,6)
call CreateDestructableZ('B008',19008,1152,224.12,270,1.16,3)
call CreateDestructableZ('B008',21888,1664,245.5,270,1.06,3)
call CreateDestructableZ('B008',22080,1536,175.37,270,.82,5)
call CreateDestructableZ('B008',22144,1408,-3,270,.97,7)
call CreateDestructableZ('B008',22272,1344,-.38,270,.96,2)
call CreateDestructableZ('B008',21696,1600,80.87,270,.99,4)
call CreateDestructableZ('B008',21504,1664,118,270,1.2,1)
call CreateDestructableZ('B008',21312,1664,41.25,270,.97,2)
call CreateDestructableZ('B008',21184,1728,153.56,270,.9,7)
call CreateDestructableZ('B008',20992,1728,204.87,270,1.19,5)
call CreateDestructableZ('B008',20864,1664,138,270,.89,0)
call CreateDestructableZ('B008',20608,1664,129.75,270,1.2,4)
call CreateDestructableZ('B008',20672,1536,-1.37,270,.93,4)
call CreateDestructableZ('B008',20416,1664,52.88,270,.8,5)
call CreateDestructableZ('B008',20224,1728,115.37,270,.94,1)
call CreateDestructableZ('B008',20096,1792,201.25,270,.94,2)
call CreateDestructableZ('B008',19776,1856,149.81,270,.98,2)
call CreateDestructableZ('B008',19648,1856,160.06,270,1.13,6)
call CreateDestructableZ('B008',19456,1792,204,270,.89,1)
call CreateDestructableZ('B008',21760,-2624,230.87,270,.99,4)
call CreateDestructableZ('B008',21952,-2752,295.44,270,.97,6)
call CreateDestructableZ('B008',22208,-2752,322.94,270,1.2,6)
call CreateDestructableZ('B008',22080,-2880,211,270,1.16,0)
call CreateDestructableZ('B008',21760,-3584,155.25,270,.9,4)
call CreateDestructableZ('B008',21952,-4096,229.5,270,1.15,0)
call CreateDestructableZ('B008',21760,-4160,215.25,270,.91,1)
call CreateDestructableZ('B008',21632,-4160,180.37,270,.8,7)
call CreateDestructableZ('B008',21440,-3776,321.37,270,.96,0)
call CreateDestructableZ('B008',21504,-3968,238.25,270,.83,3)
call CreateDestructableZ('B008',22016,-3712,213.25,270,1.1,4)
call CreateDestructableZ('B008',21632,-3520,222.5,270,1.04,0)
call CreateDestructableZ('B008',22016,-7040,405.5,270,1.16,4)
call CreateDestructableZ('B008',22016,-7168,484.5,270,.9,4)
call CreateDestructableZ('B008',22080,-6784,227.5,270,.96,5)
call CreateDestructableZ('B008',22016,-7360,287,270,1.08,5)
call CreateDestructableZ('B008',22208,-7552,122.62,270,.88,4)
call CreateDestructableZ('B008',20864,-6400,82.75,270,1.03,6)
call CreateDestructableZ('B008',21504,-6656,231.5,270,.92,2)
call CreateDestructableZ('B008',21504,-6784,193.5,270,1.05,5)
call CreateDestructableZ('B008',20992,-6656,406.75,270,1.14,1)
call CreateDestructableZ('B008',21184,-6400,197.62,270,.89,4)
call CreateDestructableZ('B008',20992,-6848,290.87,270,1.14,7)
call CreateDestructableZ('B008',21120,-6912,278,270,1.17,3)
call CreateDestructableZ('B008',20224,-5504,249,270,1.11,1)
call CreateDestructableZ('B008',20096,-6080,337.5,270,.81,0)
call CreateDestructableZ('B008',20224,-6144,368.25,270,1.1,5)
call CreateDestructableZ('B008',20416,-6144,314.75,270,1.03,1)
call CreateDestructableZ('B008',20480,-5632,222.75,270,.83,4)
call CreateDestructableZ('B008',19968,-5824,280.25,270,1.04,3)
call CreateDestructableZ('B008',19456,-5184,358.12,270,1.09,7)
call CreateDestructableZ('B008',19648,-5248,295.25,270,1.12,4)
call CreateDestructableZ('B008',19712,-4608,351.75,270,.88,5)
call CreateDestructableZ('B008',19520,-4544,315.37,270,1.18,5)
call CreateDestructableZ('B008',19008,-4480,35.88,270,.98,7)
call CreateDestructableZ('B008',19264,-4480,181.87,270,.93,1)
call CreateDestructableZ('B008',18496,-3712,239.75,270,1.09,6)
call CreateDestructableZ('B008',18496,-3840,198,270,.89,7)
call CreateDestructableZ('B008',18944,-3456,113.75,270,.96,1)
call CreateDestructableZ('B008',18816,-3968,211.75,270,1.03,0)
call CreateDestructableZ('B007',17120,1824,202.73,270,.89,2)
call CreateDestructableZ('B007',16928,1952,1.41,270,1.17,2)
call CreateDestructableZ('B007',16992,1824,12.47,270,.88,2)
call CreateDestructableZ('B007',17056,1760,91.19,270,.86,0)
call CreateDestructableZ('B007',17056,1632,78.78,270,.92,0)
call CreateDestructableZ('B007',17056,1376,4.14,270,.84,0)
call CreateDestructableZ('B007',17120,1376,12.92,270,1.05,0)
call CreateDestructableZ('B007',17056,928,71.09,270,1.12,2)
call CreateDestructableZ('B007',16864,1888,-.05,270,.84,1)
call CreateDestructable('B007',16736,1888,270,.91,1)
call CreateDestructable('B007',16672,1824,270,1.02,2)
call CreateDestructable('B007',16416,1824,270,1.15,1)
call CreateDestructable('B007',16352,1824,270,.81,2)
call CreateDestructable('B007',16480,1824,270,.94,0)
call CreateDestructable('B007',16352,1888,270,1.17,1)
call CreateDestructable('B007',16160,1952,270,.82,1)
call CreateDestructable('B007',16288,1824,270,1.1,1)
call CreateDestructable('B007',16544,1824,270,.86,1)
call CreateDestructable('B007',16480,1888,270,1.11,0)
call CreateDestructableZ('B007',16928,800,180.16,270,.82,0)
call CreateDestructableZ('B007',16800,608,370.66,270,1.03,0)
call CreateDestructableZ('B007',17120,1120,21.19,270,1.19,2)
call CreateDestructableZ('B007',16736,544,404.22,270,.84,2)
call CreateDestructableZ('B007',16672,544,351.66,270,.94,2)
call CreateDestructableZ('B007',16544,736,184.94,270,1.1,0)
call CreateDestructableZ('B007',16416,864,87.36,270,1.06,0)
call CreateDestructableZ('B007',16288,992,22.37,270,.99,2)
call CreateDestructableZ('B007',16160,1056,16.03,270,1.18,1)
call CreateDestructableZ('B007',16096,1056,27.84,270,.97,2)
call CreateDestructableZ('B007',16160,736,254.02,270,.84,0)
call CreateDestructableZ('B007',15904,1120,33.91,270,.8,2)
call CreateDestructableZ('B007',15840,1056,106.94,270,1.05,1)
call CreateDestructableZ('B007',15776,992,179.14,270,.82,2)
call CreateDestructableZ('B007',15712,992,186.61,270,1.06,0)
call CreateDestructableZ('B007',15712,928,237.7,270,1.08,2)
call CreateDestructableZ('B007',15392,800,117.78,270,.87,0)
call CreateDestructableZ('B007',15520,736,138.84,270,.9,2)
call CreateDestructableZ('B007',15712,672,91.61,270,1.07,2)
call CreateDestructableZ('B007',15904,544,34.89,270,1.19,1)
call CreateDestructableZ('B007',15904,480,4.08,270,1.03,0)
call CreateDestructableZ('B007',15968,480,12.98,270,1.03,2)
call CreateDestructableZ('B007',16160,288,24.11,270,.99,1)
call CreateDestructableZ('B007',16288,96,81.47,270,.88,1)
call CreateDestructableZ('B007',16352,32,175.59,270,.87,0)
call CreateDestructableZ('B007',16416,-32,249.2,270,.84,1)
call CreateDestructableZ('B007',16416,-160,168.17,270,.89,2)
call CreateDestructableZ('B007',16416,-288,154.02,270,.81,0)
call CreateDestructableZ('B007',16416,-352,163.3,270,1.06,1)
call CreateDestructableZ('B007',16416,-416,172.83,270,1.04,2)
call CreateDestructableZ('B007',16352,-352,117.95,270,.98,1)
call CreateDestructableZ('B007',16288,-352,91.98,270,1.1,2)
call CreateDestructableZ('B007',16288,-480,113.59,270,.87,2)
call CreateDestructableZ('B007',16224,-480,78.73,270,1.04,1)
call CreateDestructableZ('B007',16096,-416,26.05,270,.97,1)
call CreateDestructableZ('B007',15968,-480,71.94,270,.82,1)
call CreateDestructableZ('B007',15968,-416,23.19,270,1.15,2)
call CreateDestructableZ('B007',15904,-416,28.06,270,.83,0)
call CreateDestructableZ('B007',15904,-480,87.31,270,.87,1)
call CreateDestructableZ('B007',16032,-992,43.95,270,.86,0)
call CreateDestructableZ('B007',16160,-1120,14.36,270,.8,2)
call CreateDestructableZ('B007',16224,-1248,135.5,270,1.03,1)
call CreateDestructableZ('B007',16224,-1312,204.5,270,1.13,1)
call CreateDestructableZ('B007',16096,-1184,28.95,270,.86,1)
call CreateDestructableZ('B007',16032,-1120,2.36,270,.97,2)
call CreateDestructableZ('B007',15968,-1056,-.44,270,.84,1)
call CreateDestructableZ('B007',16352,-1632,60.73,270,.84,1)
call CreateDestructableZ('B007',16416,-1632,77.34,270,1.02,0)
call CreateDestructableZ('B007',16544,-1632,145.5,270,1.19,0)
call CreateDestructableZ('B007',16544,-1824,179.3,270,.93,2)
call CreateDestructableZ('B007',16544,-1888,211.39,270,1.11,2)
call CreateDestructableZ('B007',16544,-1952,209.91,270,1.11,0)
call CreateDestructableZ('B007',16608,-2016,179.41,270,1.06,1)
call CreateDestructableZ('B007',16672,-1952,237.52,270,1.06,1)
call CreateDestructableZ('B007',16672,-1824,240.84,270,.98,2)
call CreateDestructableZ('B007',16736,-1888,274.72,270,1.09,2)
call CreateDestructableZ('B007',16800,-1952,242.16,270,.91,1)
call CreateDestructableZ('B007',16992,-1824,299.91,270,.87,0)
call CreateDestructableZ('B007',16864,-1888,277.42,270,1.02,0)
call CreateDestructableZ('B007',16928,-1824,345.34,270,.96,2)
call CreateDestructableZ('B007',17056,-1824,279.98,270,1.13,1)
call CreateDestructableZ('B007',17120,-1760,383.27,270,1.03,2)
call CreateDestructableZ('B007',17056,-1760,397.8,270,.87,0)
call CreateDestructableZ('B007',16992,-1888,206.47,270,.83,2)
call CreateDestructableZ('B007',16864,-1952,215.72,270,.9,1)
call CreateDestructableZ('B007',16800,-2016,185.72,270,1.12,1)
call CreateDestructableZ('B007',16800,-2080,117.78,270,1.1,1)
call CreateDestructableZ('B007',17184,-1952,183.05,270,1.09,2)
call CreateDestructableZ('B007',17056,-2848,141.37,270,.91,0)
call CreateDestructableZ('B007',16992,-2912,161.97,270,.87,0)
call CreateDestructableZ('B007',16928,-2976,157.34,270,.85,1)
call CreateDestructableZ('B007',16864,-2976,106.59,270,.87,0)
call CreateDestructableZ('B007',16864,-3040,135.91,270,1.05,2)
call CreateDestructableZ('B007',16864,-3104,170.89,270,.91,2)
call CreateDestructableZ('B007',16928,-3296,367.33,270,.85,1)
call CreateDestructableZ('B007',16800,-3104,104.3,270,.81,0)
call CreateDestructableZ('B007',16864,-3424,316.34,270,.81,1)
call CreateDestructableZ('B007',16800,-3488,281.12,270,1.05,0)
call CreateDestructableZ('B007',16672,-3424,162.31,270,1.17,0)
call CreateDestructableZ('B007',16608,-3488,192.94,270,1.03,1)
call CreateDestructableZ('B007',16544,-3488,172.94,270,1.04,0)
call CreateDestructableZ('B007',16544,-3552,243.19,270,.83,2)
call CreateDestructableZ('B007',16544,-3616,324.97,270,.86,0)
call CreateDestructableZ('B007',16608,-3680,420.47,270,.91,0)
call CreateDestructableZ('B007',16736,-3680,461.78,270,.96,0)
call CreateDestructableZ('B007',16800,-3680,485.83,270,.97,2)
call CreateDestructableZ('B007',16800,-3744,568.2,270,1.14,2)
call CreateDestructableZ('B007',16416,-3360,167.55,270,1.14,2)
call CreateDestructableZ('B007',16352,-3360,220.14,270,1.11,1)
call CreateDestructableZ('B007',16288,-3360,260.42,270,1.13,0)
call CreateDestructableZ('B007',16224,-3360,259.36,270,1.14,2)
call CreateDestructableZ('B007',16160,-3744,197.28,270,1.03,1)
call CreateDestructableZ('B007',16160,-3872,113.55,270,.92,0)
call CreateDestructableZ('B007',16352,-4000,193.7,270,.88,1)
call CreateDestructableZ('B007',16480,-4128,195.11,270,1.16,0)
call CreateDestructableZ('B007',16544,-4128,253.78,270,.82,0)
call CreateDestructableZ('B007',16544,-4192,192.59,270,1.08,0)
call CreateDestructableZ('B007',16544,-4320,129.7,270,.98,2)
call CreateDestructableZ('B007',16608,-4320,157.48,270,.83,0)
call CreateDestructableZ('B007',16544,-4256,151.23,270,1.02,1)
call CreateDestructableZ('B007',16736,-4384,212.91,270,.95,2)
call CreateDestructableZ('B007',16864,-4640,421.06,270,.84,2)
call CreateDestructableZ('B007',16416,-4832,142.16,270,1.09,2)
call CreateDestructableZ('B007',16480,-4896,73.06,270,.92,1)
call CreateDestructableZ('B007',16672,-5024,34.58,270,.87,0)
call CreateDestructableZ('B007',16928,-5152,74.69,270,.98,0)
call CreateDestructableZ('B007',17056,-5216,137.5,270,.83,1)
call CreateDestructableZ('B007',16608,-4832,197.23,270,.97,2)
call CreateDestructableZ('B007',16736,-4960,119.56,270,1.02,2)
call CreateDestructableZ('B007',16928,-5088,165.37,270,.82,1)
call CreateDestructable('B007',16544,-5152,270,1.02,2)
call CreateDestructableZ('B007',16672,-5216,-.06,270,.81,2)
call CreateDestructable('B007',16864,-5280,270,1.14,0)
call CreateDestructable('B007',16608,-5344,270,.87,1)
call CreateDestructable('B007',16288,-5472,270,.85,0)
call CreateDestructable('B007',16352,-5280,270,1.12,2)
call CreateDestructable('B007',16480,-5408,270,1.03,0)
call CreateDestructable('B007',16544,-5344,270,1.1,2)
call CreateDestructableZ('B007',17120,-5216,220.25,270,.93,2)
call CreateDestructableZ('B007',17248,-5408,251.98,270,1.11,2)
call CreateDestructableZ('B007',17376,-5600,480.73,270,1.07,2)
call CreateDestructableZ('B007',17376,-5664,440.64,270,.83,2)
call CreateDestructableZ('B007',17312,-5664,269.42,270,1.19,1)
call CreateDestructableZ('B007',17056,-5344,32.31,270,1.16,0)
call CreateDestructableZ('B007',17184,-5536,80.78,270,1.13,1)
call CreateDestructableZ('B007',17184,-5600,73.34,270,1.05,2)
call CreateDestructableZ('B007',17184,-5664,61.19,270,.81,2)
call CreateDestructableZ('B007',17376,-5856,350.41,270,.93,0)
call CreateDestructableZ('B007',16864,-6176,38.41,270,.83,2)
call CreateDestructableZ('B007',17056,-5920,30.75,270,.82,0)
call CreateDestructableZ('B007',17056,-6048,130.36,270,1.15,2)
call CreateDestructableZ('B007',17184,-5984,262.77,270,1.01,0)
call CreateDestructableZ('B007',17120,-6304,321.17,270,1.02,0)
call CreateDestructableZ('B007',17184,-6304,314.98,270,1.05,0)
call CreateDestructableZ('B007',17248,-6304,284.7,270,1.18,2)
call CreateDestructableZ('B007',17312,-6368,125.7,270,1.08,2)
call CreateDestructableZ('B007',17312,-6432,67.42,270,.93,2)
call CreateDestructableZ('B007',17568,-6432,336.3,270,1.12,0)
call CreateDestructableZ('B007',17632,-6432,412.64,270,.99,1)
call CreateDestructableZ('B007',17696,-6368,499.8,270,1,0)
call CreateDestructableZ('B007',17696,-6304,494.52,270,.97,2)
call CreateDestructableZ('B007',16928,-6304,220.44,270,.95,1)
call CreateDestructableZ('B007',16928,-6432,255.64,270,1.13,1)
call CreateDestructableZ('B007',16928,-6496,211.67,270,1.06,1)
call CreateDestructableZ('B007',16928,-6560,145.3,270,1.12,2)
call CreateDestructableZ('B007',17504,-6560,194.59,270,.96,1)
call CreateDestructableZ('B007',17504,-6624,150.53,270,1.04,0)
call CreateDestructableZ('B007',17568,-6752,76.55,270,1.06,1)
call CreateDestructableZ('B007',17568,-6816,42.08,270,.9,0)
call CreateDestructableZ('B007',17568,-6880,30.98,270,.88,0)
call CreateDestructableZ('B007',17504,-6688,112.37,270,1.02,2)
call CreateDestructableZ('B007',17440,-6688,120.25,270,1.08,2)
call CreateDestructableZ('B007',17440,-6560,144.53,270,1.1,1)
call CreateDestructableZ('B007',17376,-6432,102.77,270,.86,0)
call CreateDestructableZ('B007',17760,-6880,42.94,270,1.01,2)
call CreateDestructableZ('B007',17824,-6880,47.84,270,.99,2)
call CreateDestructableZ('B007',18080,-7008,10.3,270,1.06,0)
call CreateDestructableZ('B007',18272,-7264,5.34,270,1.15,1)
call CreateDestructable('B007',18272,-7328,270,1.15,1)
call CreateDestructable('B007',18528,-7584,270,1.19,2)
call CreateDestructable('B007',18656,-7584,270,.91,1)
call CreateDestructable('B007',18784,-7584,270,1.06,1)
call CreateDestructable('B007',18720,-7584,270,1.07,1)
call CreateDestructableZ('B007',18656,-7520,-.14,270,.85,1)
call CreateDestructableZ('B007',18464,-7264,57.39,270,.88,1)
call CreateDestructableZ('B007',18400,-7264,38.34,270,.94,1)
call CreateDestructableZ('B007',18400,-7200,93.66,270,1.16,2)
call CreateDestructableZ('B007',18528,-7392,6.14,270,.88,2)
call CreateDestructableZ('B007',18656,-7328,42.52,270,1.06,2)
call CreateDestructableZ('B007',18848,-7520,20.73,270,.9,2)
call CreateDestructableZ('B007',19168,-7776,26.08,270,.97,2)
call CreateDestructableZ('B007',19232,-7712,30.17,270,1.02,0)
call CreateDestructableZ('B007',19232,-7648,41.88,270,.81,2)
call CreateDestructableZ('B007',19168,-7648,17.66,270,.87,1)
call CreateDestructableZ('B007',19104,-7584,21.91,270,1.04,1)
call CreateDestructableZ('B007',18976,-7520,65.52,270,1.11,2)
call CreateDestructableZ('B007',18912,-7520,41.95,270,.93,1)
call CreateDestructableZ('B007',18912,-7584,2.39,270,1.05,2)
call CreateDestructableZ('B007',19104,-7904,14.61,270,1.15,2)
call CreateDestructableZ('B007',19104,-8032,11.86,270,1.01,0)
call CreateDestructable('B007',19040,-8096,270,1.09,0)
call CreateDestructableZ('B007',19104,-8224,1.09,270,1.08,1)
call CreateDestructableZ('B007',19168,-8288,12.84,270,.98,1)
call CreateDestructableZ('B007',19104,-8288,4.28,270,.9,1)
call CreateDestructableZ('B007',19040,-8352,5.86,270,.83,2)
call CreateDestructableZ('B007',19360,-7712,93.44,270,.95,2)
call CreateDestructableZ('B007',19488,-8032,141.12,270,1.09,2)
call CreateDestructableZ('B007',19744,-8096,51.66,270,1.04,1)
call CreateDestructableZ('B007',19744,-8160,85.84,270,.82,0)
call CreateDestructableZ('B007',19680,-8032,22.11,270,.8,0)
call CreateDestructableZ('B007',19424,-7968,118.25,270,.92,1)
call CreateDestructableZ('B007',19296,-7840,71.02,270,.95,0)
call CreateDestructableZ('B007',19296,-7968,108.75,270,1.05,0)
call CreateDestructableZ('B007',19296,-8096,131.78,270,1.17,2)
call CreateDestructableZ('B007',19232,-8160,49.53,270,1.08,2)
call CreateDestructableZ('B007',19744,-7840,83.44,270,1.06,2)
call CreateDestructableZ('B007',19936,-8096,191.86,270,1,0)
call CreateDestructableZ('B007',20064,-8160,188.42,270,1.19,2)
call CreateDestructableZ('B007',20192,-8160,93.48,270,1.07,1)
call CreateDestructableZ('B007',20256,-8288,51.78,270,.99,2)
call CreateDestructableZ('B007',20320,-8352,44.08,270,.84,2)
call CreateDestructableZ('B007',19552,-7840,33.48,270,1.17,2)
call CreateDestructableZ('B007',20064,-8288,145.28,270,.86,0)
call CreateDestructableZ('B007',20192,-8416,33.3,270,.84,0)
call CreateDestructableZ('B007',20320,-8544,-.17,270,1.18,2)
call CreateDestructableZ('B007',20320,-8672,66.28,270,.98,0)
call CreateDestructableZ('B007',20384,-8416,21,270,1.06,2)
call CreateDestructableZ('B007',20384,-8288,129.92,270,1.16,1)
call CreateDestructableZ('B007',20704,-8416,52.17,270,1.14,2)
call CreateDestructableZ('B007',20896,-8416,166.47,270,1.12,0)
call CreateDestructableZ('B007',21088,-8480,110.92,270,.88,2)
call CreateDestructableZ('B007',21344,-8544,179.27,270,1.09,2)
call CreateDestructableZ('B007',21408,-8480,223.17,270,1.06,0)
call CreateDestructableZ('B007',21408,-8416,218.45,270,.8,2)
call CreateDestructableZ('B007',21344,-8416,190.5,270,1.07,2)
call CreateDestructableZ('B007',20448,-8416,29.25,270,.94,0)
call CreateDestructable('B007',20704,-8608,270,.97,2)
call CreateDestructableZ('B007',20768,-8608,-.09,270,1,0)
call CreateDestructable('B007',20832,-8736,270,.98,2)
call CreateDestructable('B007',20704,-8672,270,.89,0)
call CreateDestructable('B007',20576,-8608,270,.86,1)
call CreateDestructable('B007',20512,-8608,270,1.06,1)
call CreateDestructableZ('B007',20448,-8544,-.38,270,1.09,0)
call CreateDestructableZ('B007',20384,-8608,14.25,270,1.02,2)
call CreateDestructableZ('B007',20384,-8672,42.75,270,1,1)
call CreateDestructableZ('B007',21600,-8416,271.75,270,1.04,1)
call CreateDestructableZ('B007',21728,-8544,433.2,270,1.14,2)
call CreateDestructableZ('B007',21792,-8544,442.02,270,1.07,0)
call CreateDestructableZ('B007',21920,-8608,442.81,270,1.18,1)
call CreateDestructableZ('B007',21984,-8608,455.69,270,1.15,0)
call CreateDestructableZ('B007',22048,-8672,420.02,270,1.05,1)
call CreateDestructableZ('B007',22112,-8736,345.52,270,1.15,0)
call CreateDestructableZ('B007',22176,-8736,334.5,270,.81,0)
call CreateDestructableZ('B007',22240,-8800,143.75,270,1.07,2)
call CreateDestructableZ('B007',22368,-8800,91.95,270,1.02,0)
call CreateDestructableZ('B007',22496,-8800,41,270,1.11,0)
call CreateDestructableZ('B007',21984,-8800,217.89,270,.82,0)
call CreateDestructableZ('B007',21984,-8864,131.39,270,1.12,1)
call CreateDestructableZ('B007',22112,-8928,30.7,270,.99,0)
call CreateDestructableZ('B007',22176,-8928,20.72,270,1.18,1)
call CreateDestructableZ('B007',22240,-8928,16.66,270,.87,2)
call CreateDestructableZ('B007',21152,-8672,30.17,270,.94,2)
call CreateDestructableZ('B007',21216,-8864,14.2,270,1.09,2)
call CreateDestructableZ('B007',21216,-8928,4.73,270,1.04,1)
call CreateDestructableZ('B007',21216,-8800,27.86,270,1.1,1)
call CreateDestructableZ('B007',21280,-8608,122.95,270,1.19,0)
call CreateDestructableZ('B007',21280,-8544,142.17,270,1.14,2)
call CreateDestructableZ('B007',21408,-8544,232.64,270,.99,2)
call CreateDestructableZ('B007',20448,-8800,56.78,270,1.13,1)
call CreateDestructableZ('B007',20640,-8928,-.28,270,1.16,1)
call CreateDestructableZ('B007',20512,-9120,9.56,270,.88,1)
call CreateDestructableZ('B007',20448,-9184,10,270,1.19,2)
call CreateDestructableZ('B007',19104,-8800,145.3,270,1.09,2)
call CreateDestructableZ('B007',19104,-8864,91.58,270,.88,1)
call CreateDestructableZ('B007',19168,-8864,132.48,270,1.06,2)
call CreateDestructableZ('B007',19168,-8928,43.2,270,.88,1)
call CreateDestructableZ('B007',19616,-8864,193.73,270,1.19,0)
call CreateDestructableZ('B007',19616,-8928,104.83,270,1.02,2)
call CreateDestructableZ('B007',19616,-9056,51.23,270,.86,2)
call CreateDestructableZ('B007',19616,-9120,47.2,270,.8,0)
call CreateDestructableZ('B007',19616,-9184,45.23,270,1.1,1)
call CreateDestructableZ('B007',19616,-9248,39.47,270,.9,0)
call CreateDestructableZ('B007',19680,-9248,109.28,270,1.14,1)
call CreateDestructable('B007',21088,-9056,270,1.13,1)
call CreateDestructable('B007',21088,-9504,270,1.04,2)
call CreateDestructable('B007',20896,-8992,270,.92,1)
call CreateDestructableZ('B007',22240,-9056,-.17,270,1.05,0)
call CreateDestructable('B007',22368,-9248,270,1.1,1)
call CreateDestructable('B007',22368,-9312,270,1.06,1)
call CreateDestructable('B007',22368,-9376,270,.9,2)
call CreateDestructable('B007',22368,-9440,270,.94,0)
call CreateDestructable('B007',22432,-9312,270,.98,1)
call CreateDestructableZ('B007',22496,-8864,11.86,270,.94,1)
call CreateDestructableZ('B007',22432,-8928,7.11,270,.8,2)
call CreateDestructable('B007',20512,-9376,270,1.18,2)
call CreateDestructable('B007',20448,-9504,270,1.01,1)
call CreateDestructable('B007',20448,-9568,270,1.19,2)
call CreateDestructable('B007',20512,-9632,270,.82,0)
call CreateDestructableZ('B007',20960,-8608,-1.22,270,.98,0)
call CreateDestructable('B007',21152,-9248,270,.94,0)
call CreateDestructable('B007',21344,-9312,270,1.03,2)
call CreateDestructableZ('B007',16032,-3744,43.13,270,.83,2)
call CreateDestructableZ('B007',15968,-3872,8.2,270,.96,0)
call CreateDestructableZ('B007',15904,-4000,2.22,270,1.06,0)
call CreateDestructableZ('B007',15904,-4064,1.53,270,.88,2)
call CreateDestructableZ('B007',16096,-3936,46.64,270,.82,2)
call CreateDestructableZ('B007',16160,-3936,85.77,270,.95,0)
call CreateDestructableZ('B007',16288,-4064,114.08,270,1.18,0)
call CreateDestructableZ('B007',16096,224,-.09,270,.87,1)
call CreateDestructable('B007',15968,224,270,.83,1)
call CreateDestructable('B007',15968,160,270,1.12,0)
call CreateDestructable('B007',15904,160,270,.84,2)
call CreateDestructable('B007',15904,96,270,.98,2)
call CreateDestructable('B007',15968,96,270,1.13,2)
call CreateDestructable('B007',15776,96,270,1.15,0)
call CreateDestructableZ('B007',15584,1312,-.05,270,.94,2)
call CreateDestructableZ('B007',15712,1248,3.16,270,1.02,0)
call CreateDestructableZ('B007',14240,736,141.78,270,1.13,1)
call CreateDestructableZ('B007',14240,544,183.45,270,.91,0)
call CreateDestructableZ('B007',14304,96,457.52,270,.83,0)
call CreateDestructableZ('B007',14304,32,528.8,270,.86,0)
call CreateDestructableZ('B007',14432,96,285.77,270,1.15,2)
call CreateDestructableZ('B007',14368,-32,511.69,270,1.04,2)
call CreateDestructableZ('B007',14368,-96,565.81,270,.94,2)
call CreateDestructableZ('B007',14496,-288,308.95,270,.98,1)
call CreateDestructableZ('B007',14560,-352,202.08,270,1.08,0)
call CreateDestructableZ('B007',14560,-480,161.25,270,1.09,1)
call CreateDestructableZ('B007',14624,-480,99.72,270,1.18,1)
call CreateDestructableZ('B007',14688,-480,47.53,270,1.06,1)
call CreateDestructableZ('CTtc',9248,-17440,256,270,.8,0)
call CreateDestructableZ('CTtc',9248,-17120,256,270,1.2,1)
call CreateDestructableZ('CTtc',8928,-17056,256,270,.98,2)
call CreateDestructableZ('CTtc',8992,-16736,256,270,1,0)
call CreateDestructableZ('CTtc',8672,-16608,256,270,1.18,2)
call CreateDestructableZ('CTtc',7968,-16032,256,270,.92,0)
call CreateDestructableZ('CTtc',8352,-16544,256,270,.81,2)
call CreateDestructableZ('CTtc',8288,-16096,256,270,.85,0)
call CreateDestructableZ('CTtc',8032,-16224,256,270,.85,1)
call CreateDestructableZ('CTtc',8736,-16864,256,270,1.11,1)
call CreateDestructableZ('CTtc',9056,-16928,256,270,.93,1)
call CreateDestructableZ('CTtc',8480,-16352,256,270,1.19,0)
call CreateDestructableZ('CTtc',8480,-16608,256,270,.92,2)
call CreateDestructableZ('CTtc',7520,-15328,256,270,1.04,2)
call CreateDestructableZ('CTtc',8032,-15904,256,270,1.1,0)
call CreateDestructableZ('CTtc',7712,-21984,256,270,.81,1)
call CreateDestructableZ('CTtc',9120,-20576,256,270,1.18,2)
call CreateDestructableZ('CTtc',7904,-21984,256,270,1.13,2)
call CreateDestructableZ('CTtc',8032,-21728,256,270,.95,2)
call CreateDestructableZ('CTtc',8032,-21600,256,270,1.04,1)
call CreateDestructableZ('CTtc',8160,-21792,256,270,.95,1)
call CreateDestructableZ('CTtc',8352,-21600,256,270,.98,2)
call CreateDestructableZ('CTtc',8416,-21344,256,270,.96,0)
call CreateDestructableZ('CTtc',9120,-20832,256,270,.88,1)
call CreateDestructableZ('CTtc',9184,-20704,256,270,.81,2)
call CreateDestructableZ('CTtc',9312,-20704,256,270,.97,1)
call CreateDestructableZ('CTtc',9376,-20512,256,270,.81,2)
call CreateDestructableZ('CTtc',9504,-20320,256,270,1.16,0)
call CreateDestructableZ('CTtc',9312,-20384,256,270,.94,0)
call CreateDestructableZ('CTtc',9504,-20448,256,270,1.03,2)
call CreateDestructableZ('CTtc',9568,-20448,256,270,.88,0)
call CreateDestructableZ('CTtc',9696,-20064,256,270,1.09,1)
call CreateDestructableZ('CTtc',9696,-20320,256,270,1.14,2)
call CreateDestructableZ('CTtc',7456,-22112,256,270,1.03,2)
call CreateDestructableZ('CTtc',7840,-22112,256,270,.86,1)
call CreateDestructableZ('CTtc',7648,-21856,256,270,1.14,2)
call CreateDestructableZ('CTtc',8928,-20832,256,270,1.18,1)
call CreateDestructableZ('CTtc',8736,-20832,256,270,1.05,0)
call CreateDestructableZ('CTtc',8736,-21152,256,270,.98,2)
call CreateDestructableZ('CTtc',8800,-21024,256,270,.97,0)
call CreateDestructableZ('CTtc',9888,-19488,256,270,1.07,2)
call CreateDestructableZ('CTtc',8032,-21920,256,270,1.15,0)
call CreateDestructableZ('CTtc',8608,-21152,256,270,.84,2)
call CreateDestructableZ('CTtc',9888,-19936,256,270,1.05,1)
call CreateDestructableZ('CTtc',9824,-20128,256,270,.81,0)
call CreateDestructableZ('CTtc',9888,-19616,256,270,.93,0)
call CreateDestructableZ('CTtc',8544,-21472,256,270,.82,2)
call CreateDestructableZ('CTtc',8352,-21152,256,270,.98,2)
call CreateDestructableZ('CTtc',9952,-20064,256,270,1.2,2)
call CreateDestructableZ('CTtc',8224,-21344,256,270,.82,2)
call CreateDestructableZ('CTtc',10016,-19680,256,270,.8,1)
call CreateDestructableZ('CTtc',-1440,-20320,256,270,.95,2)
call CreateDestructableZ('CTtc',10016,-19552,256,270,1.08,1)
call CreateDestructableZ('CTtc',10208,-19744,256,270,.86,2)
call CreateDestructableZ('CTtc',10208,-18592,256,270,1.16,0)
call CreateDestructableZ('CTtc',10016,-19168,256,270,.82,0)
call CreateDestructableZ('CTtc',10208,-19104,256,270,.98,2)
call CreateDestructableZ('CTtc',10080,-17888,256,270,1.11,2)
call CreateDestructableZ('CTtc',10208,-19488,256,270,1.11,2)
call CreateDestructableZ('CTtc',-992,-20384,256,270,1.18,1)
call CreateDestructableZ('CTtc',10080,-18656,256,270,.94,2)
call CreateDestructableZ('CTtc',-1632,-20000,256,270,.96,2)
call CreateDestructableZ('CTtc',10080,-18784,256,270,1.1,0)
call CreateDestructableZ('CTtc',7520,-22304,256,270,.89,2)
call CreateDestructableZ('CTtc',7648,-22240,256,270,.9,1)
call CreateDestructableZ('CTtc',8288,-21664,256,270,1.16,2)
call CreateDestructableZ('CTtc',7520,-22048,256,270,.89,0)
call CreateDestructableZ('CTtc',7968,-21920,256,270,1.14,0)
call CreateDestructableZ('CTtc',7392,-22368,256,270,.99,0)
call CreateDestructableZ('CTtc',3168,-22368,256,270,.89,2)
call CreateDestructableZ('CTtc',8928,-21024,256,270,1.19,0)
call CreateDestructableZ('CTtc',7200,-22304,256,270,1.07,2)
call CreateDestructableZ('CTtc',7136,-22240,256,270,1.02,0)
call CreateDestructableZ('CTtc',3616,-22368,256,270,.99,0)
call CreateDestructableZ('CTtc',6944,-22240,256,270,.9,1)
call CreateDestructableZ('CTtc',6752,-22368,256,270,1.13,1)
call CreateDestructableZ('CTtc',6816,-22176,256,270,.89,0)
call CreateDestructableZ('CTtc',6560,-22176,256,270,1.05,2)
call CreateDestructableZ('CTtc',6368,-22368,257.37,270,.99,0)
call CreateDestructableZ('CTtc',6112,-22368,278,270,1.02,2)
call CreateDestructableZ('CTtc',6368,-22176,261.5,270,1.18,0)
call CreateDestructableZ('CTtc',6176,-22304,276.62,270,1.07,2)
call CreateDestructableZ('CTtc',6112,-22240,278,270,1.02,0)
call CreateDestructableZ('CTtc',5920,-22368,278,270,.89,2)
call CreateDestructableZ('CTtc',5920,-22240,278,270,.9,1)
call CreateDestructableZ('CTtc',5728,-22368,278,270,1.13,1)
call CreateDestructableZ('CTtc',5792,-22176,278,270,.89,0)
call CreateDestructableZ('CTtc',5600,-22176,278,270,1.05,2)
call CreateDestructableZ('CTtc',5408,-22368,278,270,.99,0)
call CreateDestructableZ('CTtc',5152,-22368,278,270,1.02,2)
call CreateDestructableZ('CTtc',5408,-22176,278,270,1.18,0)
call CreateDestructableZ('CTtc',5216,-22304,278,270,1.07,2)
call CreateDestructableZ('CTtc',5152,-22240,278,270,1.02,0)
call CreateDestructableZ('CTtc',4960,-22368,278,270,.89,2)
call CreateDestructableZ('CTtc',4960,-22240,278,270,.9,1)
call CreateDestructableZ('CTtc',4768,-22368,278,270,1.13,1)
call CreateDestructableZ('CTtc',4832,-22176,278,270,.89,0)
call CreateDestructableZ('CTtc',4704,-22176,278,270,1.05,2)
call CreateDestructableZ('CTtc',4256,-22368,278,270,1.02,2)
call CreateDestructableZ('CTtc',4320,-22304,278,270,1.07,2)
call CreateDestructableZ('CTtc',4256,-22240,278,270,1.02,0)
call CreateDestructableZ('CTtc',4064,-22368,259.98,270,.89,2)
call CreateDestructableZ('CTtc',4064,-22240,272.5,270,.9,1)
call CreateDestructableZ('CTtc',3872,-22368,256,270,1.13,1)
call CreateDestructableZ('CTtc',3936,-22176,256,270,.89,0)
call CreateDestructable('B007',12384,-10720,270,1.1,0)
call CreateDestructable('B007',12320,-10784,270,1.12,0)
call CreateDestructableZ('B007',12192,-11104,13.36,270,1.05,1)
call CreateDestructableZ('B007',12192,-11168,14.25,270,.96,0)
call CreateDestructableZ('B007',12192,-11296,14.25,270,.98,1)
call CreateDestructableZ('B007',12192,-11424,66.64,270,.95,2)
call CreateDestructableZ('B007',12192,-11488,171.42,270,.84,2)
call CreateDestructableZ('B007',12064,-11296,14.25,270,1.15,0)
call CreateDestructableZ('B007',12000,-11424,19.95,270,.85,0)
call CreateDestructableZ('B007',12000,-11488,50.36,270,.96,0)
call CreateDestructableZ('B007',12320,-10912,18.78,270,.92,2)
call CreateDestructable('B007',12320,-10848,270,1.03,0)
call CreateDestructable('B007',12320,-10720,270,.93,1)
call CreateDestructable('B007',12128,-10720,270,1,1)
call CreateDestructableZ('B007',12064,-10976,-23.53,270,1.12,0)
call CreateDestructableZ('B007',12064,-10912,-44.34,270,.94,0)
call CreateDestructable('B007',12448,-10720,270,.97,1)
call CreateDestructableZ('B007',12512,-10592,2.67,270,1.06,0)
call CreateDestructableZ('B007',12640,-10656,171,270,1.12,2)
call CreateDestructableZ('B007',11808,-12384,82.08,270,1.07,1)
call CreateDestructableZ('B007',11680,-12576,29.94,270,.84,0)
call CreateDestructableZ('B007',11680,-12640,41.81,270,1.12,1)
call CreateDestructableZ('B007',11680,-12384,4.97,270,.83,0)
call CreateDestructableZ('B007',11296,-13728,25.72,270,.94,1)
call CreateDestructableZ('B007',11296,-13664,14.48,270,.81,1)
call CreateDestructableZ('B007',11232,-13408,-16,270,.9,2)
call CreateDestructableZ('B007',11488,-13472,439.27,270,1.1,2)
call CreateDestructable('B00A',-1376,-14304,270,.93,1)
call CreateDestructable('B00A',-928,-14304,270,.84,1)
call CreateDestructable('B00A',-1504,-14304,270,.98,1)
call CreateDestructable('B00A',-1120,-14304,270,1.15,1)
call CreateDestructable('B00A',-2016,-14304,270,.83,0)
call CreateDestructable('B00A',-2016,-14048,270,.83,1)
call CreateDestructable('B00A',-1888,-14304,270,1.2,2)
call CreateDestructableZ('B00A',608,-14304,72.44,270,1.08,0)
call CreateDestructableZ('B00A',9824,-12000,25.05,270,.82,2)
call CreateDestructableZ('CTtc',3808,-22176,256,270,1.05,2)
call CreateDestructableZ('CTtc',2976,-22368,256,270,1.13,1)
call CreateDestructableZ('B00A',8672,-11552,60.17,270,1.2,0)
call CreateDestructableZ('B00A',8736,-11872,98.86,270,1.13,2)
call CreateDestructableZ('B00A',8608,-11872,53.94,270,1.02,2)
call CreateDestructableZ('B00A',8864,-12064,39.5,270,.87,2)
call CreateDestructableZ('B00A',8096,-12960,119.33,270,1.2,1)
call CreateDestructableZ('B00A',8224,-12960,83.33,270,1.06,0)
call CreateDestructableZ('B00A',7904,-12384,31.41,270,.88,0)
call CreateDestructableZ('B00A',7904,-13024,40.16,270,1.06,2)
call CreateDestructableZ('B00A',7968,-14048,95.58,270,1.04,0)
call CreateDestructableZ('B00A',8032,-14304,133.36,270,.82,2)
call CreateDestructableZ('B00A',8480,-14304,111.25,270,.93,2)
call CreateDestructableZ('B00A',8288,-13728,108.19,270,.9,0)
call CreateDestructableZ('B00A',8160,-13920,108.53,270,.92,2)
call CreateDestructableZ('B00A',8992,-13344,40.98,270,.87,0)
call CreateDestructableZ('B00A',8800,-13152,4.73,270,1.2,0)
call CreateDestructableZ('B00A',9056,-12896,50.05,270,.8,2)
call CreateDestructableZ('B00A',9184,-13216,10.16,270,.98,0)
call CreateDestructableZ('B00A',9888,-13792,75.28,270,.9,0)
call CreateDestructableZ('B00A',9888,-14304,32.81,270,.96,2)
call CreateDestructableZ('B00A',9696,-14304,25.37,270,.89,2)
call CreateDestructableZ('B00A',9696,-14112,49.19,270,.87,1)
call CreateDestructableZ('B00A',9824,-13344,6.31,270,.99,0)
call CreateDestructableZ('B00A',9824,-12704,25.42,270,1.09,2)
call CreateDestructableZ('B00A',9696,-13152,2.09,270,.8,2)
call CreateDestructableZ('B00A',9632,-13600,19.92,270,1.2,0)
call CreateDestructable('B00A',8672,-12960,270,1,1)
call CreateDestructableZ('B00A',8992,-13088,23.58,270,.8,1)
call CreateDestructableZ('B00A',8992,-11616,-.75,270,.89,1)
call CreateDestructableZ('B00A',6304,1504,21.14,270,1.1,0)
call CreateDestructableZ('B00A',6240,928,37.72,270,1.1,1)
call CreateDestructableZ('B00A',5920,800,11.59,270,.99,0)
call CreateDestructableZ('B00A',6112,1376,25.33,270,.98,1)
call CreateDestructableZ('B00A',6368,928,56.05,270,.9,2)
call CreateDestructableZ('B00A',5600,1504,16.16,270,1.07,0)
call CreateDestructableZ('B00A',5664,1760,16.98,270,.95,1)
call CreateDestructableZ('B00A',5792,1696,9.03,270,.82,2)
call CreateDestructableZ('B00A',5920,1376,1.89,270,.88,0)
call CreateDestructableZ('B00A',5792,1056,20.95,270,.98,2)
call CreateDestructableZ('B00A',4640,1952,15.53,270,.98,0)
call CreateDestructableZ('B00A',4512,1952,10.77,270,1.14,0)
call CreateDestructable('B00A',3488,864,270,.88,0)
call CreateDestructable('B00A',4896,928,270,.82,0)
call CreateDestructableZ('B00A',5216,1376,-9.75,270,1.2,0)
call CreateDestructableZ('B00A',3744,1184,-11.53,270,.81,2)
call CreateDestructableZ('B00A',3808,1632,.16,270,1.18,2)
call CreateDestructableZ('B00A',3424,1696,4.33,270,.8,0)
call CreateDestructableZ('B00A',3168,1632,1.8,270,1.01,0)
call CreateDestructableZ('B00A',3104,1312,21.98,270,1.2,2)
call CreateDestructableZ('B00A',3104,1056,16.61,270,.8,1)
call CreateDestructableZ('B00A',3360,1312,25.56,270,.96,0)
call CreateDestructableZ('B00A',2144,1184,14.56,270,1.09,1)
call CreateDestructableZ('B00A',2016,928,18.81,270,.82,0)
call CreateDestructableZ('B00A',1952,864,30.36,270,1.2,2)
call CreateDestructableZ('B00A',2336,1056,8.78,270,.88,0)
call CreateDestructableZ('B00A',2208,1504,4.22,270,1.2,0)
call CreateDestructableZ('B00A',1952,1248,6.44,270,.81,2)
call CreateDestructableZ('B00A',2528,1184,39.94,270,.93,0)
call CreateDestructableZ('B00A',2720,992,18.48,270,1.2,0)
call CreateDestructable('B00A',608,1952,270,.98,1)
call CreateDestructable('B00A',928,1888,270,.85,0)
call CreateDestructable('B00A',992,1952,270,1.17,1)
call CreateDestructableZ('B00A',2272,2016,56.11,270,.86,0)
call CreateDestructableZ('B00A',2464,2016,24.58,270,.86,1)
call CreateDestructableZ('B00A',7392,1504,397.06,270,1.2,1)
call CreateDestructableZ('B00A',7328,160,413.19,270,.87,1)
call CreateDestructableZ('B00A',7136,416,121.34,270,.82,2)
call CreateDestructable('B00A',6496,2016,270,1.06,0)
call CreateDestructable('B00A',6304,2016,270,1.11,1)
call CreateDestructable('B00A',5024,2016,270,.93,1)
call CreateDestructable('B00A',5152,2016,270,1.03,2)
call CreateDestructable('B00A',1824,2016,270,1.17,0)
call CreateDestructable('B00A',1952,2016,270,1.03,2)
call CreateDestructableZ('B00A',2080,2016,-.38,270,1.09,0)
call CreateDestructableZ('B00A',2656,2016,-.17,270,.93,1)
call CreateDestructable('B00A',2848,2016,270,1.2,2)
call CreateDestructable('B00A',3104,2016,270,1.01,0)
call CreateDestructable('B00A',3296,2016,270,.8,0)
call CreateDestructable('B00A',3552,2016,270,.82,2)
call CreateDestructable('B00A',3744,2016,270,1.18,1)
call CreateDestructable('B00A',4000,2016,270,1.13,1)
call CreateDestructable('B00A',4192,2016,270,1.16,0)
call CreateDestructableZ('B00A',4320,2016,.61,270,1.17,0)
call CreateDestructableZ('B00A',4832,2016,5.02,270,.99,0)
call CreateDestructable('B00A',5344,2016,270,1.16,0)
call CreateDestructableZ('B00A',5536,2016,-.03,270,1.01,2)
call CreateDestructableZ('B00A',5728,2016,-.03,270,1.14,0)
call CreateDestructable('B00A',5920,2016,270,1.04,1)
call CreateDestructable('B00A',6112,2016,270,.97,1)
call CreateDestructableZ('B00A',6752,2016,-.28,270,1.14,1)
call CreateDestructableZ('B00A',7008,2016,135.73,270,1.02,0)
call CreateDestructable('B00A',3424,2016,270,.89,2)
call CreateDestructable('B00A',2784,2016,270,1.06,1)
call CreateDestructable('B00A',1120,2016,270,.88,1)
call CreateDestructable('B00A',1248,2016,270,1,1)
call CreateDestructable('B00A',800,1952,270,.98,1)
call CreateDestructableZ('B00A',416,2016,1.59,270,.92,0)
call CreateDestructableZ('B00A',224,2016,2.87,270,.88,1)
call CreateDestructableZ('B00A',96,2016,2.08,270,1.16,0)
call CreateDestructableZ('YTfb',22496,-8352,430.64,270,1,0)
call CreateDestructableZ('YTfb',22432,-8352,569.3,270,1,0)
call CreateDestructableZ('YTfb',22368,-8352,646.7,270,1,0)
call CreateDestructableZ('YTfb',22304,-8352,662.86,270,1,0)
call CreateDestructableZ('YTfb',22240,-8352,717.27,270,1,0)
call CreateDestructableZ('YTfb',22176,-8352,809.92,270,1,0)
call CreateDestructableZ('YTfb',22112,-8288,842.05,270,1,0)
call CreateDestructableZ('YTfb',22048,-8224,742.3,270,1,0)
call CreateDestructableZ('YTfb',21984,-8160,671.5,270,1,0)
call CreateDestructableZ('YTfb',21920,-8096,590,270,1,0)
call CreateDestructableZ('YTfb',21856,-8096,564.53,270,1,0)
call CreateDestructableZ('YTfb',21792,-8096,537.59,270,1,0)
call CreateDestructableZ('YTfb',21728,-8032,546.75,270,1,0)
call CreateDestructableZ('YTfb',21664,-8096,565.66,270,1,0)
call CreateDestructableZ('YTfb',21600,-8032,635.47,270,1,0)
call CreateDestructableZ('YTfb',21536,-7968,724.84,270,1,0)
call CreateDestructableZ('YTfb',21472,-7904,738.89,270,1,0)
call CreateDestructableZ('YTfb',21408,-7904,687.17,270,1,0)
call CreateDestructableZ('YTfb',21344,-7904,668.45,270,1,0)
call CreateDestructableZ('YTfb',21280,-7840,700.83,270,1,0)
call CreateDestructableZ('YTfb',21216,-7776,752.09,270,1,0)
call CreateDestructableZ('YTfb',21152,-7776,824.53,270,1,0)
call CreateDestructableZ('YTfb',21088,-7712,843.42,270,1,0)
call CreateDestructableZ('YTfb',21024,-7648,841.39,270,1,0)
call CreateDestructableZ('YTfb',20960,-7648,843.06,270,1,0)
call CreateDestructableZ('YTfb',20896,-7648,817.81,270,1,0)
call CreateDestructableZ('YTfb',20832,-7648,827.48,270,1,0)
call CreateDestructableZ('YTfb',20768,-7648,872.08,270,1,0)
call CreateDestructableZ('YTfb',20704,-7648,931.66,270,1,0)
call CreateDestructableZ('YTfb',20640,-7648,1006.22,270,1,0)
call CreateDestructableZ('YTfb',20576,-7584,1013.2,270,1,0)
call CreateDestructableZ('YTfb',20512,-7520,980.52,270,1,0)
call CreateDestructableZ('YTfb',20448,-7456,933.92,270,1,0)
call CreateDestructableZ('YTfb',20384,-7392,879.86,270,1,0)
call CreateDestructableZ('YTfb',20320,-7392,865.02,270,1,0)
call CreateDestructableZ('YTfb',20256,-7392,823.17,270,1,0)
call CreateDestructableZ('YTfb',20192,-7392,802.81,270,1,0)
call CreateDestructableZ('YTfb',20128,-7328,795.31,270,1,0)
call CreateDestructableZ('YTfb',20064,-7328,802.47,270,1,0)
call CreateDestructableZ('YTfb',20000,-7328,801.41,270,1,0)
call CreateDestructableZ('YTfb',19936,-7264,794.7,270,1,0)
call CreateDestructableZ('YTfb',19872,-7264,804.48,270,1,0)
call CreateDestructableZ('YTfb',19808,-7264,818.03,270,1,0)
call CreateDestructableZ('YTfb',19744,-7264,835.34,270,1,0)
call CreateDestructableZ('YTfb',19680,-7264,856.94,270,1,0)
call CreateDestructableZ('YTfb',19616,-7264,882.81,270,1,0)
call CreateDestructableZ('YTfb',19552,-7264,898.78,270,1,0)
call CreateDestructableZ('YTfb',19552,-7200,968.97,270,1,0)
call CreateDestructableZ('YTfb',19488,-7200,1024.41,270,1,0)
call CreateDestructableZ('YTfb',19424,-7136,1037.83,270,1,0)
call CreateDestructableZ('YTfb',19424,-7072,981.48,270,1,0)
call CreateDestructableZ('YTfb',19360,-7072,965.58,270,1,0)
call CreateDestructableZ('YTfb',19296,-7008,953.16,270,1,0)
call CreateDestructableZ('YTfb',19232,-7008,934.84,270,1,0)
call CreateDestructableZ('YTfb',19168,-7008,936.61,270,1,0)
call CreateDestructableZ('YTfb',19104,-6944,973.73,270,1,0)
call CreateDestructableZ('YTfb',19040,-6880,961.53,270,1,0)
call CreateDestructableZ('YTfb',18976,-6816,971.91,270,1,0)
call CreateDestructableZ('YTfb',18912,-6752,947.02,270,1,0)
call CreateDestructableZ('YTfb',18848,-6688,889.77,270,1,0)
call CreateDestructableZ('YTfb',18784,-6624,896.75,270,1,0)
call CreateDestructableZ('YTfb',18720,-6560,841.5,270,1,0)
call CreateDestructableZ('YTfb',18656,-6496,762.84,270,1,0)
call CreateDestructableZ('YTfb',18592,-6432,725.47,270,1,0)
call CreateDestructableZ('YTfb',18528,-6368,700.83,270,1,0)
call CreateDestructableZ('YTfb',18464,-6304,697.45,270,1,0)
call CreateDestructableZ('YTfb',18400,-6240,730.05,270,1,0)
call CreateDestructableZ('YTfb',18336,-6176,778.17,270,1,0)
call CreateDestructableZ('YTfb',18272,-6112,876.69,270,1,0)
call CreateDestructableZ('YTfb',18208,-6048,1038.81,270,1,0)
call CreateDestructableZ('YTfb',18144,-5984,997.19,270,1,0)
call CreateDestructableZ('YTfb',18080,-5920,798.31,270,1,0)
call CreateDestructableZ('YTfb',18016,-5856,677.16,270,1,0)
call CreateDestructableZ('YTfb',18016,-5792,633.47,270,1,0)
call CreateDestructableZ('YTfb',18016,-5728,597.06,270,1,0)
call CreateDestructableZ('YTfb',18016,-5664,567.94,270,1,0)
call CreateDestructableZ('YTfb',18016,-5600,548.84,270,1,0)
call CreateDestructableZ('YTfb',18016,-5536,539.78,270,1,0)
call CreateDestructableZ('YTfb',18016,-5472,567.64,270,1,0)
call CreateDestructableZ('YTfb',18016,-5408,632.42,270,1,0)
call CreateDestructableZ('YTfb',17952,-5344,748.86,270,1,0)
call CreateDestructableZ('YTfb',17952,-5280,837.7,270,1,0)
call CreateDestructableZ('YTfb',17888,-5216,884.17,270,1,0)
call CreateDestructableZ('YTfb',17824,-5152,877.05,270,1,0)
call CreateDestructableZ('YTfb',17760,-5088,879.83,270,1,0)
call CreateDestructableZ('YTfb',17696,-5024,843.58,270,1,0)
call CreateDestructableZ('YTfb',17632,-4960,841.33,270,1,0)
call CreateDestructableZ('YTfb',17632,-4896,858.86,270,1,0)
call CreateDestructableZ('YTfb',17632,-4832,863.23,270,1,0)
call CreateDestructableZ('YTfb',17568,-4832,909.7,270,1,0)
call CreateDestructableZ('YTfb',17568,-4768,958.36,270,1,0)
call CreateDestructableZ('YTfb',17568,-4704,951.53,270,1,0)
call CreateDestructableZ('YTfb',17568,-4640,889.22,270,1,0)
call CreateDestructableZ('YTfb',17568,-4576,862.52,270,1,0)
call CreateDestructableZ('YTfb',17568,-4512,871.42,270,1,0)
call CreateDestructableZ('YTfb',17632,-4448,912.55,270,1,0)
call CreateDestructableZ('YTfb',17632,-4384,966.39,270,1,0)
call CreateDestructableZ('YTfb',17632,-4320,935.37,270,1,0)
call CreateDestructableZ('YTfb',17632,-4256,819.5,270,1,0)
call CreateDestructableZ('YTfb',17632,-4192,733.52,270,1,0)
call CreateDestructableZ('YTfb',17632,-4128,677.42,270,1,0)
call CreateDestructableZ('YTfb',17632,-4064,634.39,270,1,0)
call CreateDestructableZ('YTfb',17568,-4000,605.89,270,1,0)
call CreateDestructableZ('YTfb',17568,-3936,573.11,270,1,0)
call CreateDestructableZ('YTfb',17568,-3872,525.7,270,1,0)
call CreateDestructableZ('YTfb',17568,-3808,575.3,270,1,0)
call CreateDestructableZ('YTfb',17568,-3744,721.89,270,1,0)
call CreateDestructableZ('YTfb',17568,-3680,869.09,270,1,0)
call CreateDestructableZ('YTfb',17568,-3616,1016.91,270,1,0)
call CreateDestructableZ('YTfb',17568,-3552,1031.52,270,1,0)
call CreateDestructableZ('YTfb',17504,-3488,939.3,270,1,0)
call CreateDestructableZ('YTfb',17440,-3424,798.2,270,1,0)
call CreateDestructableZ('YTfb',17376,-3360,728.98,270,1,0)
call CreateDestructableZ('YTfb',17312,-3296,698.89,270,1,0)
call CreateDestructableZ('YTfb',17312,-3232,651.8,270,1,0)
call CreateDestructableZ('YTfb',17312,-3168,593.27,270,1,0)
call CreateDestructableZ('YTfb',17312,-3104,523.3,270,1,0)
call CreateDestructableZ('YTfb',17312,-3040,445.03,270,1,0)
call CreateDestructableZ('YTfb',17312,-2976,358.47,270,1,0)
call CreateDestructableZ('YTfb',17312,-2912,269.53,270,1,0)
call CreateDestructableZ('YTfb',17376,-1888,417.34,270,1,0)
call CreateDestructableZ('YTfb',17312,-1824,538.22,270,1,0)
call CreateDestructableZ('YTfb',17312,-1760,573.41,270,1,0)
call CreateDestructableZ('YTfb',17248,-1696,506.17,270,1,0)
call CreateDestructableZ('YTfb',17184,-1632,543.61,270,1,0)
call CreateDestructableZ('YTfb',17120,-1568,672.81,270,1,0)
call CreateDestructableZ('YTfb',17120,-1504,746.03,270,1,0)
call CreateDestructableZ('YTfb',17120,-1440,808.59,270,1,0)
call CreateDestructableZ('YTfb',17056,-1376,890.52,270,1,0)
call CreateDestructableZ('YTfb',17056,-1312,939.3,270,1,0)
call CreateDestructableZ('YTfb',17056,-1248,978.11,270,1,0)
call CreateDestructableZ('YTfb',17056,-1184,1006.95,270,1,0)
call CreateDestructableZ('YTfb',16992,-1120,950.86,270,1,0)
call CreateDestructableZ('YTfb',17056,-1056,859.89,270,1,0)
call CreateDestructableZ('YTfb',17120,-992,748.69,270,1,0)
call CreateDestructableZ('YTfb',17184,-928,648.78,270,1,0)
call CreateDestructableZ('YTfb',17184,-864,644.73,270,1,0)
call CreateDestructableZ('YTfb',17184,-800,694.83,270,1,0)
call CreateDestructableZ('YTfb',17184,-736,758.8,270,1,0)
call CreateDestructableZ('YTfb',17184,-672,836.64,270,1,0)
call CreateDestructableZ('YTfb',17248,-608,746.23,270,1,0)
call CreateDestructableZ('YTfb',17312,-544,769,270,1,0)
call CreateDestructableZ('YTfb',17376,-480,908.05,270,1,0)
call CreateDestructableZ('YTfb',17440,-416,1046.23,270,1,0)
call CreateDestructableZ('YTfb',17376,-352,1112.8,270,1,0)
call CreateDestructableZ('YTfb',17440,-288,1177.44,270,1,0)
call CreateDestructableZ('YTfb',17376,-224,1127.83,270,1,0)
call CreateDestructableZ('YTfb',17376,-160,1046.23,270,1,0)
call CreateDestructableZ('YTfb',17376,-96,975.67,270,1,0)
call CreateDestructableZ('YTfb',17376,-32,916.14,270,1,0)
call CreateDestructableZ('YTfb',17376,32,861.17,270,1,0)
call CreateDestructableZ('YTfb',17376,96,810.77,270,1,0)
call CreateDestructableZ('YTfb',17440,160,749.77,270,1,0)
call CreateDestructableZ('YTfb',17440,224,738.8,270,1,0)
call CreateDestructableZ('YTfb',17504,288,706.36,270,1,0)
call CreateDestructableZ('YTfb',17504,352,712.2,270,1,0)
call CreateDestructableZ('YTfb',17568,416,697.06,270,1,0)
call CreateDestructableZ('YTfb',17632,480,692.44,270,1,0)
call CreateDestructableZ('YTfb',17632,544,745.53,270,1,0)
call CreateDestructableZ('YTfb',17632,608,783.97,270,1,0)
call CreateDestructableZ('YTfb',17632,672,837.22,270,1,0)
call CreateDestructableZ('YTfb',17632,736,905.28,270,1,0)
call CreateDestructableZ('YTfb',17632,800,877.67,270,1,0)
call CreateDestructableZ('YTfb',17696,864,736.44,270,1,0)
call CreateDestructableZ('YTfb',17696,928,689.33,270,1,0)
call CreateDestructableZ('YTfb',17696,992,701.86,270,1,0)
call CreateDestructableZ('YTfb',17760,1056,691.25,270,1,0)
call CreateDestructableZ('YTfb',17760,1120,717,270,1,0)
call CreateDestructableZ('YTfb',17760,1184,766.41,270,1,0)
call CreateDestructableZ('YTfb',17760,1248,839.47,270,1,0)
call CreateDestructableZ('YTfb',17760,1312,894.7,270,1,0)
call CreateDestructableZ('YTfb',17760,1376,932.11,270,1,0)
call CreateDestructableZ('YTfb',17760,1440,935.75,270,1,0)
call CreateDestructableZ('YTfb',17760,1504,905.62,270,1,0)
call CreateDestructableZ('YTfb',17760,1568,840.41,270,1,0)
call CreateDestructableZ('YTfb',17760,1632,740.09,270,1,0)
call CreateDestructableZ('YTfb',17760,1696,662.73,270,1,0)
call CreateDestructableZ('YTfb',17696,1760,627.23,270,1,0)
call CreateDestructableZ('YTfb',17696,1824,642.62,270,1,0)
call CreateDestructableZ('YTfb',17632,1888,772.87,270,1,0)
call CreateDestructableZ('YTfb',17632,1952,783.31,270,1,0)
call CreateDestructableZ('YTfb',17568,2016,773.81,270,1,0)
call CreateDestructableZ('YTfb',20512,-14304,670.14,270,1,0)
call CreateDestructableZ('YTfb',20576,-14240,769.89,270,1,0)
call CreateDestructableZ('YTfb',20640,-14176,863.97,270,1,0)
call CreateDestructableZ('YTfb',20704,-14112,945.72,270,1,0)
call CreateDestructableZ('YTfb',20768,-14048,954.58,270,1,0)
call CreateDestructableZ('YTfb',20832,-13984,882.95,270,1,0)
call CreateDestructableZ('YTfb',20896,-13920,796.87,270,1,0)
call CreateDestructableZ('YTfb',20896,-13856,747.62,270,1,0)
call CreateDestructableZ('YTfb',20896,-13792,724.89,270,1,0)
call CreateDestructableZ('YTfb',20960,-13728,739.89,270,1,0)
call CreateDestructableZ('YTfb',20960,-13664,825.42,270,1,0)
call CreateDestructableZ('YTfb',20960,-13600,969.89,270,1,0)
call CreateDestructableZ('YTfb',21024,-13536,1054.17,270,1,0)
call CreateDestructableZ('YTfb',21024,-13472,1085.02,270,1,0)
call CreateDestructableZ('YTfb',21024,-13408,1039.06,270,1,0)
call CreateDestructableZ('YTfb',21024,-13344,916.31,270,1,0)
call CreateDestructableZ('YTfb',21024,-13280,786.02,270,1,0)
call CreateDestructableZ('YTfb',21024,-13216,648.17,270,1,0)
call CreateDestructableZ('YTfb',20960,-13152,578.5,270,1,0)
call CreateDestructableZ('YTfb',20960,-13088,593.12,270,1,0)
call CreateDestructableZ('YTfb',20896,-13024,668.17,270,1,0)
call CreateDestructableZ('YTfb',20832,-12960,707.11,270,1,0)
call CreateDestructableZ('YTfb',20832,-12896,744.31,270,1,0)
call CreateDestructableZ('YTfb',20832,-12832,752.19,270,1,0)
call CreateDestructableZ('YTfb',20768,-12768,791.42,270,1,0)
call CreateDestructableZ('YTfb',20704,-12704,788.17,270,1,0)
call CreateDestructableZ('YTfb',20704,-12640,790.83,270,1,0)
call CreateDestructableZ('YTfb',20768,-12576,760.25,270,1,0)
call CreateDestructableZ('YTfb',20704,-12512,680.28,270,1,0)
call CreateDestructableZ('YTfb',20704,-12448,561.84,270,1,0)
call CreateDestructableZ('YTfb',20704,-12384,480.12,270,1,0)
call CreateDestructableZ('YTfb',20704,-12320,435.12,270,1,0)
call CreateDestructableZ('YTfb',20704,-12256,381.2,270,1,0)
call CreateDestructableZ('YTfb',20704,-12192,318.36,270,1,0)
call CreateDestructableZ('YTfb',21088,-13152,542.23,270,1,0)
call CreateDestructableZ('YTfb',21152,-13152,521.77,270,1,0)
call CreateDestructableZ('YTfb',21216,-13152,510.55,270,1,0)
call CreateDestructableZ('YTfb',21280,-13088,437.53,270,1,0)
call CreateDestructableZ('YTfb',21344,-13088,456.97,270,1,0)
call CreateDestructableZ('YTfb',21408,-13024,452.22,270,1,0)
call CreateDestructableZ('YTfb',21472,-12960,521.97,270,1,0)
call CreateDestructableZ('YTfb',21472,-12896,598.45,270,1,0)
call CreateDestructableZ('YTfb',21472,-12832,689.73,270,1,0)
call CreateDestructableZ('YTfb',21536,-12768,719.36,270,1,0)
call CreateDestructableZ('YTfb',21536,-12704,690.45,270,1,0)
call CreateDestructableZ('YTfb',21536,-12640,610.17,270,1,0)
call CreateDestructableZ('YTfb',21536,-12576,478.52,270,1,0)
call CreateDestructableZ('YTfb',21536,-12512,367.31,270,1,0)
call CreateDestructableZ('YTfb',21536,-12448,276.56,270,1,0)
call CreateDestructableZ('YTfb',21536,-12384,206.33,270,1,0)
call CreateDestructableZ('YTfb',21536,-12320,156.61,270,1,0)
call CreateDestructableZ('YTfb',21600,-12256,87.58,270,1,0)
call CreateDestructableZ('YTfb',17312,-12768,114.12,270,1,0)
call CreateDestructableZ('YTfb',17248,-12768,170.39,270,1,0)
call CreateDestructableZ('YTfb',17184,-12704,263.02,270,1,0)
call CreateDestructableZ('YTfb',17120,-12704,331.61,270,1,0)
call CreateDestructableZ('YTfb',17056,-12704,403.08,270,1,0)
call CreateDestructableZ('YTfb',16992,-12704,483.33,270,1,0)
call CreateDestructableZ('YTfb',16928,-12704,572.36,270,1,0)
call CreateDestructableZ('YTfb',16864,-12704,658.02,270,1,0)
call CreateDestructableZ('YTfb',16800,-12704,740.3,270,1,0)
call CreateDestructableZ('YTfb',16736,-12704,794.42,270,1,0)
call CreateDestructableZ('YTfb',16672,-12704,820.39,270,1,0)
call CreateDestructableZ('YTfb',16608,-12704,800.48,270,1,0)
call CreateDestructableZ('YTfb',16544,-12704,734.7,270,1,0)
call CreateDestructableZ('YTfb',16480,-12704,661.27,270,1,0)
call CreateDestructableZ('YTfb',16416,-12704,580.17,270,1,0)
call CreateDestructableZ('YTfb',16352,-12704,550.09,270,1,0)
call CreateDestructableZ('YTfb',16288,-12704,571.03,270,1,0)
call CreateDestructableZ('YTfb',16224,-12704,586.48,270,1,0)
call CreateDestructableZ('YTfb',16160,-12704,596.45,270,1,0)
call CreateDestructableZ('YTfb',16096,-12704,654.8,270,1,0)
call CreateDestructableZ('YTfb',16032,-12704,761.52,270,1,0)
call CreateDestructableZ('YTfb',15968,-12704,833.41,270,1,0)
call CreateDestructableZ('YTfb',15904,-12704,870.47,270,1,0)
call CreateDestructableZ('YTfb',15840,-12640,863.02,270,1,0)
call CreateDestructableZ('YTfb',15776,-12640,863.67,270,1,0)
call CreateDestructableZ('YTfb',15712,-12640,820.03,270,1,0)
call CreateDestructableZ('YTfb',15648,-12640,732.09,270,1,0)
call CreateDestructableZ('YTfb',15584,-12640,721.09,270,1,0)
call CreateDestructableZ('YTfb',15520,-12640,787.03,270,1,0)
call CreateDestructableZ('YTfb',15456,-12640,794.83,270,1,0)
call CreateDestructableZ('YTfb',15392,-12704,768.22,270,1,0)
call CreateDestructableZ('YTfb',15328,-12704,761.91,270,1,0)
call CreateDestructableZ('YTfb',15264,-12704,788.34,270,1,0)
call CreateDestructableZ('YTfb',15200,-12704,845.52,270,1,0)
call CreateDestructableZ('YTfb',15136,-12704,933.42,270,1,0)
call CreateDestructableZ('YTfb',15072,-12640,968.67,270,1,0)
call CreateDestructableZ('YTfb',15008,-12640,981.89,270,1,0)
call CreateDestructableZ('YTfb',14944,-12576,983.33,270,1,0)
call CreateDestructableZ('YTfb',14880,-12512,957.72,270,1,0)
call CreateDestructableZ('YTfb',14816,-12512,921.03,270,1,0)
call CreateDestructableZ('YTfb',14752,-12512,845.34,270,1,0)
call CreateDestructableZ('YTfb',14688,-12512,770.61,270,1,0)
call CreateDestructableZ('YTfb',14624,-12512,696.83,270,1,0)
call CreateDestructableZ('YTfb',14560,-12512,626.48,270,1,0)
call CreateDestructableZ('YTfb',14496,-12576,611.33,270,1,0)
call CreateDestructableZ('YTfb',14432,-12640,621.05,270,1,0)
call CreateDestructableZ('YTfb',14368,-12576,528.3,270,1,0)
call CreateDestructableZ('YTfb',14304,-12640,542.12,270,1,0)
call CreateDestructableZ('YTfb',14304,-12704,603.19,270,1,0)
call CreateDestructableZ('YTfb',14304,-12768,661.44,270,1,0)
call CreateDestructableZ('YTfb',14304,-12832,696.5,270,1,0)
call CreateDestructableZ('YTfb',14304,-12896,708.37,270,1,0)
call CreateDestructableZ('YTfb',14240,-12960,749.84,270,1,0)
call CreateDestructableZ('YTfb',14176,-13024,778.5,270,1,0)
call CreateDestructableZ('YTfb',14112,-13088,751.67,270,1,0)
call CreateDestructableZ('YTfb',14048,-13088,683.77,270,1,0)
call CreateDestructableZ('YTfb',13984,-13152,377.02,270,1,0)
call CreateDestructableZ('YTfb',13920,-13216,189.89,270,1,0)
call CreateDestructableZ('YTfb',13856,-13280,65.39,270,1,0)
call CreateDestructableZ('YTfb',13024,-10720,428.27,270,1,0)
call CreateDestructableZ('YTfb',12960,-10784,469.84,270,1,0)
call CreateDestructableZ('YTfb',12896,-10848,527.22,270,1,0)
call CreateDestructableZ('YTfb',12832,-10912,631.42,270,1,0)
call CreateDestructableZ('YTfb',12768,-10976,760.12,270,1,0)
call CreateDestructableZ('YTfb',12704,-11040,839.19,270,1,0)
call CreateDestructableZ('YTfb',12640,-11104,836.8,270,1,0)
call CreateDestructableZ('YTfb',12576,-11168,730.86,270,1,0)
call CreateDestructableZ('YTfb',14176,-9696,87.31,270,1,0)
call CreateDestructableZ('YTfb',14240,-9760,128.52,270,1,0)
call CreateDestructableZ('YTfb',14304,-9824,193.02,270,1,0)
call CreateDestructableZ('YTfb',14368,-9888,232.37,270,1,0)
call CreateDestructableZ('YTfb',15264,-10336,785.39,270,1,0)
call CreateDestructableZ('YTfb',15328,-10272,801.27,270,1,0)
call CreateDestructableZ('YTfb',15392,-10208,769.45,270,1,0)
call CreateDestructableZ('YTfb',15392,-10144,782.73,270,1,0)
call CreateDestructableZ('YTfb',15456,-10080,785.14,270,1,0)
call CreateDestructableZ('YTfb',15456,-10016,849.17,270,1,0)
call CreateDestructableZ('YTfb',15520,-9952,883.17,270,1,0)
call CreateDestructableZ('YTfb',15520,-9888,925.14,270,1,0)
call CreateDestructableZ('YTfb',15584,-9824,867.95,270,1,0)
call CreateDestructableZ('YTfb',15648,-9760,754.94,270,1,0)
call CreateDestructableZ('YTfb',15712,-9696,669.3,270,1,0)
call CreateDestructableZ('YTfb',15712,-9632,649.02,270,1,0)
call CreateDestructableZ('YTfb',15712,-9568,605.72,270,1,0)
call CreateDestructableZ('YTfb',15712,-9504,539.41,270,1,0)
call CreateDestructableZ('YTfb',15712,-9440,508.95,270,1,0)
call CreateDestructableZ('YTfb',15712,-9376,514.36,270,1,0)
call CreateDestructableZ('YTfb',15712,-9312,537.67,270,1,0)
call CreateDestructableZ('YTfb',15712,-9248,578.89,270,1,0)
call CreateDestructableZ('YTfb',15712,-9184,573.28,270,1,0)
call CreateDestructableZ('YTfb',15712,-9120,520.84,270,1,0)
call CreateDestructableZ('YTfb',15712,-9056,435.95,270,1,0)
call CreateDestructableZ('YTfb',15712,-8992,318.61,270,1,0)
call CreateDestructableZ('YTfb',15712,-8928,222.42,270,1,0)
call CreateDestructableZ('YTfb',15776,-8864,147.34,270,1,0)
call CreateDestructableZ('YTfb',15200,-10336,777.77,270,1,0)
call CreateDestructableZ('YTfb',15136,-10336,701.3,270,1,0)
call CreateDestructableZ('YTfb',15072,-10272,658.31,270,1,0)
call CreateDestructableZ('YTfb',15008,-10208,557.23,270,1,0)
call CreateDestructableZ('YTfb',14944,-10208,528.11,270,1,0)
call CreateDestructableZ('YTfb',14880,-10144,535.86,270,1,0)
call CreateDestructableZ('YTfb',14816,-10144,574.36,270,1,0)
call CreateDestructableZ('YTfb',14752,-10144,612.95,270,1,0)
call CreateDestructableZ('YTfb',14688,-10080,508.31,270,1,0)
call CreateDestructableZ('YTfb',14624,-10080,463.56,270,1,0)
call CreateDestructableZ('YTfb',14560,-10016,314.53,270,1,0)
call CreateDestructableZ('YTfb',14496,-10016,264.47,270,1,0)
call CreateDestructableZ('YTfb',14432,-9952,243.5,270,1,0)
call CreateDestructableZ('YTfb',18656,-11872,280.41,270,1,0)
call CreateDestructableZ('YTfb',18720,-11808,584.91,270,1,0)
call CreateDestructableZ('YTfb',18784,-11808,787.09,270,1,0)
call CreateDestructableZ('YTfb',18848,-11808,927.45,270,1,0)
call CreateDestructableZ('YTfb',18912,-11808,1005.98,270,1,0)
call CreateDestructableZ('YTfb',18976,-11744,1146.45,270,1,0)
call CreateDestructableZ('YTfb',19040,-11744,1133.98,270,1,0)
call CreateDestructableZ('YTfb',19104,-11744,1177.42,270,1,0)
call CreateDestructableZ('YTfb',19168,-11744,1276.77,270,1,0)
call CreateDestructableZ('YTfb',19232,-11744,1314.19,270,1,0)
call CreateDestructableZ('YTfb',19296,-11808,1210.08,270,1,0)
call CreateDestructableZ('YTfb',19360,-11808,1150.53,270,1,0)
call CreateDestructableZ('YTfb',19360,-11872,1005.09,270,1,0)
call CreateDestructableZ('YTfb',19424,-11872,900.41,270,1,0)
call CreateDestructableZ('YTfb',19488,-11936,633.25,270,1,0)
call CreateDestructableZ('YTfb',19680,-10976,398.59,270,1,0)
call CreateDestructableZ('YTfb',19488,-11744,855.8,270,1,0)
call CreateDestructableZ('YTfb',19488,-11680,808.02,270,1,0)
call CreateDestructableZ('YTfb',19488,-11616,768.92,270,1,0)
call CreateDestructableZ('YTfb',19488,-11552,738.52,270,1,0)
call CreateDestructableZ('YTfb',19488,-11488,781.41,270,1,0)
call CreateDestructableZ('YTfb',19552,-11424,865.66,270,1,0)
call CreateDestructableZ('YTfb',19552,-11360,962.25,270,1,0)
call CreateDestructableZ('YTfb',19616,-11296,921.83,270,1,0)
call CreateDestructableZ('YTfb',19616,-11232,913.42,270,1,0)
call CreateDestructableZ('YTfb',19680,-11168,702.92,270,1,0)
call CreateDestructableZ('YTfb',19680,-11104,625.25,270,1,0)
call CreateDestructableZ('YTfb',19680,-11040,499,270,1,0)
call CreateDestructableZ('YTfb',20256,-7456,831.73,270,1,0)
call CreateDestructableZ('YTfb',20256,-7520,795.7,270,1,0)
call CreateDestructableZ('YTfb',20256,-7584,770.53,270,1,0)
call CreateDestructableZ('YTfb',20192,-7648,749.95,270,1,0)
call CreateDestructableZ('YTfb',20128,-7712,791.69,270,1,0)
call CreateDestructableZ('YTfb',20128,-7776,840.06,270,1,0)
call CreateDestructableZ('YTfb',20064,-7840,755.23,270,1,0)
call CreateDestructableZ('YTfb',20064,-7904,588.7,270,1,0)
call CreateDestructableZ('YTfb',20000,-7968,371.08,270,1,0)
call CreateDestructableZ('YTfb',20000,-8032,253.61,270,1,0)
call CreateDestructableZ('YTfb',19680,-8736,445.8,270,1,0)
call CreateDestructableZ('YTfb',20000,-8096,203.67,270,1,0)
call CreateDestructableZ('YTfb',19936,-8160,218.45,270,1,0)
call CreateDestructableZ('YTfb',19936,-8224,227.42,270,1,0)
call CreateDestructableZ('YTfb',19936,-8288,218.77,270,1,0)
call CreateDestructableZ('YTfb',19936,-8352,267.17,270,1,0)
call CreateDestructableZ('YTfb',19936,-8416,372.64,270,1,0)
call CreateDestructableZ('YTfb',19936,-8480,468.02,270,1,0)
call CreateDestructableZ('YTfb',19936,-8544,553.3,270,1,0)
call CreateDestructableZ('YTfb',19936,-8608,616.19,270,1,0)
call CreateDestructableZ('YTfb',19936,-8672,656.69,270,1,0)
call CreateDestructableZ('YTfb',19936,-8736,650,270,1,0)
call CreateDestructableZ('YTfb',20000,-8800,579.73,270,1,0)
call CreateDestructableZ('YTfb',20000,-8864,618.53,270,1,0)
call CreateDestructableZ('YTfb',20064,-8928,717.78,270,1,0)
call CreateDestructableZ('YTfb',20064,-8992,732.05,270,1,0)
call CreateDestructableZ('YTfb',20064,-9056,674.02,270,1,0)
call CreateDestructableZ('YTfb',20000,-9120,630.69,270,1,0)
call CreateDestructableZ('YTfb',20000,-9184,554.06,270,1,0)
call CreateDestructableZ('YTfb',20000,-9248,452.06,270,1,0)
call CreateDestructableZ('YTfb',19936,-9312,363.92,270,1,0)
call CreateDestructableZ('YTfb',19936,-9376,245.66,270,1,0)
call CreateDestructableZ('YTfb',20000,-9440,119.62,270,1,0)
call CreateDestructableZ('YTfb',19488,-8224,304.33,270,1,0)
call CreateDestructableZ('YTfb',19488,-8288,360.23,270,1,0)
call CreateDestructableZ('YTfb',19488,-8352,394.19,270,1,0)
call CreateDestructableZ('YTfb',19488,-8416,406.19,270,1,0)
call CreateDestructableZ('YTfb',19424,-8480,452.33,270,1,0)
call CreateDestructableZ('YTfb',19424,-8544,542.61,270,1,0)
call CreateDestructableZ('YTfb',19424,-8608,575.72,270,1,0)
call CreateDestructableZ('YTfb',19424,-8672,551.66,270,1,0)
call CreateDestructableZ('YTfb',19360,-8736,464.09,270,1,0)
call CreateDestructableZ('YTfb',19296,-8800,316.86,270,1,0)
call CreateDestructableZ('YTfb',19296,-8864,197.47,270,1,0)
call CreateDestructableZ('YTfb',19296,-8928,64.16,270,1,0)
call CreateDestructableZ('YTfb',17312,96,816.55,270,1,0)
call CreateDestructableZ('YTfb',17248,96,830.64,270,1,0)
call CreateDestructableZ('YTfb',17184,96,853.05,270,1,0)
call CreateDestructableZ('YTfb',17120,96,852.72,270,1,0)
call CreateDestructableZ('YTfb',17056,160,860.12,270,1,0)
call CreateDestructableZ('YTfb',16992,160,830.81,270,1,0)
call CreateDestructableZ('YTfb',16928,160,766.31,270,1,0)
call CreateDestructableZ('YTfb',16864,224,747.48,270,1,0)
call CreateDestructableZ('YTfb',16800,224,719.08,270,1,0)
call CreateDestructableZ('YTfb',16736,224,701.25,270,1,0)
call CreateDestructableZ('YTfb',16672,224,694,270,1,0)
call CreateDestructableZ('YTfb',16608,224,665.36,270,1,0)
call CreateDestructableZ('YTfb',16544,288,582.53,270,1,0)
call CreateDestructableZ('YTfb',16480,352,476.86,270,1,0)
call CreateDestructableZ('YTfb',16416,416,420.73,270,1,0)
call CreateDestructableZ('YTfb',16352,480,408.34,270,1,0)
call CreateDestructableZ('YTfb',16288,544,373.84,270,1,0)
call CreateDestructableZ('YTfb',16224,608,319.67,270,1,0)
call CreateDestructableZ('YTfb',16160,608,246.14,270,1,0)
call CreateDestructableZ('YTfb',16096,672,232.91,270,1,0)
call CreateDestructableZ('YTfb',16032,736,251.41,270,1,0)
call CreateDestructableZ('YTfb',15968,736,249.12,270,1,0)
call CreateDestructableZ('YTfb',15904,736,248.87,270,1,0)
call CreateDestructableZ('YTfb',15840,800,277.69,270,1,0)
call CreateDestructableZ('YTfb',15776,864,259.19,270,1,0)
call CreateDestructableZ('YTfb',15712,864,249.25,270,1,0)
call CreateDestructableZ('YTfb',15648,864,257.5,270,1,0)
call CreateDestructableZ('YTfb',15584,864,248.87,270,1,0)
call CreateDestructableZ('YTfb',15520,864,223.37,270,1,0)
call CreateDestructableZ('YTfb',15520,928,220.17,270,1,0)
call CreateDestructableZ('YTfb',15456,992,154.2,270,1,0)
call CreateDestructableZ('YTfb',15392,992,116.23,270,1,0)
call CreateDestructableZ('YTfb',15328,928,91.78,270,1,0)
call CreateDestructableZ('YTfb',15264,928,37.84,270,1,0)
call CreateDestructableZ('YTfb',13792,1056,205.69,270,1,0)
call CreateDestructableZ('YTfb',13792,992,305.95,270,1,0)
call CreateDestructableZ('YTfb',13792,928,423.61,270,1,0)
call CreateDestructableZ('YTfb',13792,864,527.28,270,1,0)
call CreateDestructableZ('YTfb',13792,800,616.97,270,1,0)
call CreateDestructableZ('YTfb',13792,736,683.84,270,1,0)
call CreateDestructableZ('YTfb',13728,672,709.84,270,1,0)
call CreateDestructableZ('YTfb',13728,608,741.03,270,1,0)
call CreateDestructableZ('YTfb',13728,544,761.47,270,1,0)
call CreateDestructableZ('YTfb',13664,480,770.44,270,1,0)
call CreateDestructableZ('YTfb',13728,416,771.73,270,1,0)
call CreateDestructableZ('YTfb',13728,352,778.95,270,1,0)
call CreateDestructableZ('YTfb',13728,288,793.36,270,1,0)
call CreateDestructableZ('YTfb',13792,288,841.08,270,1,0)
call CreateDestructableZ('YTfb',13792,224,906.27,270,1,0)
call CreateDestructableZ('YTfb',13856,160,1037,270,1,0)
call CreateDestructableZ('YTfb',13856,96,1092.47,270,1,0)
call CreateDestructableZ('YTfb',13856,32,1094.78,270,1,0)
call CreateDestructableZ('YTfb',13856,-32,1070.33,270,1,0)
call CreateDestructableZ('YTfb',13920,-96,985.7,270,1,0)
call CreateDestructableZ('YTfb',13984,-160,910.36,270,1,0)
call CreateDestructableZ('YTfb',13984,-224,855.95,270,1,0)
call CreateDestructableZ('YTfb',13984,-288,789.42,270,1,0)
call CreateDestructableZ('YTfb',13984,-352,710.77,270,1,0)
call CreateDestructableZ('YTfb',13984,-416,619.39,270,1,0)
call CreateDestructableZ('YTfb',13984,-480,515.3,270,1,0)
call CreateDestructableZ('YTfb',13984,-544,471.42,270,1,0)
call CreateDestructableZ('YTfb',13984,-608,487.77,270,1,0)
call CreateDestructableZ('YTfb',13984,-672,530.61,270,1,0)
call CreateDestructableZ('YTfb',13984,-736,599.95,270,1,0)
call CreateDestructableZ('YTfb',13984,-800,675.95,270,1,0)
call CreateDestructableZ('YTfb',13984,-864,758.61,270,1,0)
call CreateDestructableZ('YTfb',13920,-928,851.89,270,1,0)
call CreateDestructableZ('YTfb',13920,-992,957.92,270,1,0)
call CreateDestructableZ('YTfb',13920,-1056,1008.86,270,1,0)
call CreateDestructableZ('YTfb',13920,-1120,1004.7,270,1,0)
call CreateDestructableZ('YTfb',13984,-1184,962.22,270,1,0)
call CreateDestructableZ('YTfb',14048,-1248,854.84,270,1,0)
call CreateDestructableZ('YTfb',14112,-1312,791.48,270,1,0)
call CreateDestructableZ('YTfb',14176,-1312,813.33,270,1,0)
call CreateDestructableZ('YTfb',14240,-1376,844.75,270,1,0)
call CreateDestructableZ('YTfb',14304,-1376,901.75,270,1,0)
call CreateDestructableZ('YTfb',14368,-1376,975.97,270,1,0)
call CreateDestructableZ('YTfb',14432,-1376,1067.41,270,1,0)
call CreateDestructableZ('YTfb',14432,-1440,1070.39,270,1,0)
call CreateDestructableZ('YTfb',14432,-1504,960.92,270,1,0)
call CreateDestructableZ('YTfb',14496,-1568,859.06,270,1,0)
call CreateDestructableZ('YTfb',14496,-1632,761.06,270,1,0)
call CreateDestructableZ('YTfb',14560,-1696,648.7,270,1,0)
call CreateDestructableZ('YTfb',14560,-1760,547.73,270,1,0)
call CreateDestructableZ('YTfb',14560,-1824,435.33,270,1,0)
call CreateDestructableZ('YTfb',14496,-1888,341.83,270,1,0)
call CreateDestructableZ('YTfb',14560,-1952,239.3,270,1,0)
call CreateDestructableZ('YTfb',14560,-2016,218.77,270,1,0)
call CreateDestructableZ('YTfb',14624,-2080,199.83,270,1,0)
call CreateDestructableZ('YTfb',14624,-2144,215.86,270,1,0)
call CreateDestructableZ('YTfb',13344,-2080,166,270,1,0)
call CreateDestructableZ('YTfb',13408,-2080,250.62,270,1,0)
call CreateDestructableZ('YTfb',13472,-2080,350.91,270,1,0)
call CreateDestructableZ('YTfb',13536,-2080,466.84,270,1,0)
call CreateDestructableZ('YTfb',13600,-2144,628,270,1,0)
call CreateDestructableZ('YTfb',13664,-2144,727.12,270,1,0)
call CreateDestructableZ('YTfb',13728,-2144,825.72,270,1,0)
call CreateDestructableZ('YTfb',13728,-2208,847.87,270,1,0)
call CreateDestructableZ('YTfb',13792,-2208,945.25,270,1,0)
call CreateDestructableZ('YTfb',13856,-2208,957.39,270,1,0)
call CreateDestructableZ('YTfb',13920,-2272,901.27,270,1,0)
call CreateDestructableZ('YTfb',13984,-2336,875.97,270,1,0)
call CreateDestructableZ('YTfb',14048,-2336,914.53,270,1,0)
call CreateDestructableZ('YTfb',14112,-2400,577.44,270,1,0)
call CreateDestructableZ('YTfb',14176,-2464,280.75,270,1,0)
call CreateDestructableZ('YTfb',13856,-1184,937.56,270,1,0)
call CreateDestructableZ('YTfb',13792,-1248,818.62,270,1,0)
call CreateDestructableZ('YTfb',13728,-1248,707.5,270,1,0)
call CreateDestructableZ('YTfb',13664,-1248,611.34,270,1,0)
call CreateDestructableZ('YTfb',13600,-1248,530.16,270,1,0)
call CreateDestructableZ('YTfb',13536,-1312,383.34,270,1,0)
call CreateDestructableZ('YTfb',13472,-1312,358.03,270,1,0)
call CreateDestructableZ('YTfb',13408,-1312,313.06,270,1,0)
call CreateDestructableZ('YTfb',13344,-1312,248.44,270,1,0)
call CreateDestructableZ('YTfb',13280,-1312,185.47,270,1,0)
call CreateDestructableZ('YTfb',13216,-1248,170.22,270,1,0)
call CreateDestructableZ('YTfb',16928,-1120,850.2,270,1,0)
call CreateDestructableZ('YTfb',16864,-1120,760.22,270,1,0)
call CreateDestructableZ('YTfb',16800,-1056,726.97,270,1,0)
call CreateDestructableZ('YTfb',16736,-992,721.89,270,1,0)
call CreateDestructableZ('YTfb',16672,-992,716.55,270,1,0)
call CreateDestructableZ('YTfb',16608,-928,746.05,270,1,0)
call CreateDestructableZ('YTfb',16544,-928,669.89,270,1,0)
call CreateDestructableZ('YTfb',16480,-928,580.28,270,1,0)
call CreateDestructableZ('YTfb',16416,-864,500.27,270,1,0)
call CreateDestructableZ('YTfb',16352,-864,433.66,270,1,0)
call CreateDestructableZ('YTfb',16288,-800,398.78,270,1,0)
call CreateDestructableZ('YTfb',16224,-800,375.73,270,1,0)
call CreateDestructableZ('YTfb',16160,-736,338.92,270,1,0)
call CreateDestructableZ('YTfb',16096,-736,307.11,270,1,0)
call CreateDestructableZ('YTfb',16032,-736,255.33,270,1,0)
call CreateDestructableZ('YTfb',15968,-736,213.55,270,1,0)
call CreateDestructableZ('YTfb',15904,-736,181.77,270,1,0)
call CreateDestructableZ('YTfb',15840,-672,186.94,270,1,0)
call CreateDestructableZ('YTfb',15776,-608,187.16,270,1,0)
call CreateDestructableZ('YTfb',15712,-608,172.31,270,1,0)
call CreateDestructableZ('YTfb',15648,-608,140.94,270,1,0)
call CreateDestructableZ('YTfb',15584,-544,112.19,270,1,0)
call CreateDestructableZ('YTfb',15584,-480,99.97,270,1,0)
call CreateDestructableZ('YTfb',15584,-416,74.03,270,1,0)
call CreateDestructableZ('YTfb',21600,-12192,35.23,270,1,0)
call CreateDestructableZ('YTfb',20704,-12128,255.05,270,1,0)
call CreateDestructableZ('YTfb',19552,-11936,515,270,1,0)
call CreateDestructableZ('YTfb',19616,-11936,424.73,270,1,0)
call CreateDestructableZ('YTfb',19680,-12000,307.98,270,1,0)
call CreateDestructableZ('YTfb',19680,-12064,247.59,270,1,0)
call CreateDestructableZ('YTfb',13920,-4320,129.73,270,1,0)
call CreateDestructableZ('YTfb',13984,-4384,171.28,270,1,0)
call CreateDestructableZ('YTfb',14048,-4448,214.03,270,1,0)
call CreateDestructableZ('YTfb',14112,-4512,266.72,270,1,0)
call CreateDestructableZ('YTfb',14176,-4576,337.97,270,1,0)
call CreateDestructableZ('YTfb',14240,-4640,406.53,270,1,0)
call CreateDestructableZ('YTfb',14240,-4704,431.34,270,1,0)
call CreateDestructableZ('YTfb',14240,-4768,469.69,270,1,0)
call CreateDestructableZ('YTfb',14304,-4832,656.56,270,1,0)
call CreateDestructableZ('YTfb',14368,-4896,836.98,270,1,0)
call CreateDestructableZ('YTfb',14432,-4960,926.86,270,1,0)
call CreateDestructableZ('YTfb',14496,-4960,936.09,270,1,0)
call CreateDestructableZ('YTfb',14560,-4960,905.41,270,1,0)
call CreateDestructableZ('YTfb',14624,-5024,809.64,270,1,0)
call CreateDestructableZ('YTfb',14688,-5088,610.02,270,1,0)
call CreateDestructableZ('YTfb',14752,-5088,549.08,270,1,0)
call CreateDestructableZ('YTfb',14816,-5152,370.56,270,1,0)
call CreateDestructableZ('YTfb',14816,-5216,313.94,270,1,0)
call CreateDestructableZ('YTfb',14816,-5280,315.23,270,1,0)
call CreateDestructableZ('YTfb',14816,-5344,374.45,270,1,0)
call CreateDestructableZ('YTfb',14816,-5408,436.66,270,1,0)
call CreateDestructableZ('YTfb',14816,-5472,501.84,270,1,0)
call CreateDestructableZ('YTfb',14816,-5536,583.61,270,1,0)
call CreateDestructableZ('YTfb',14816,-5600,681.95,270,1,0)
call CreateDestructableZ('YTfb',14816,-5664,725.89,270,1,0)
call CreateDestructableZ('YTfb',14816,-5728,715.42,270,1,0)
call CreateDestructableZ('YTfb',14816,-5792,676.16,270,1,0)
call CreateDestructableZ('YTfb',14816,-5856,608.09,270,1,0)
call CreateDestructableZ('YTfb',14880,-5920,495.25,270,1,0)
call CreateDestructableZ('YTfb',14880,-5984,369,270,1,0)
call CreateDestructableZ('YTfb',14880,-6048,264.83,270,1,0)
call CreateDestructableZ('YTfb',14880,-6112,182.73,270,1,0)
call CreateDestructableZ('YTfb',14880,-6176,118.08,270,1,0)
call CreateDestructableZ('YTfb',14880,-6240,70.86,270,1,0)
call CreateDestructableZ('YTfb',14752,-5600,701.73,270,1,0)
call CreateDestructableZ('YTfb',14688,-5600,667.69,270,1,0)
call CreateDestructableZ('YTfb',14624,-5600,579.81,270,1,0)
call CreateDestructableZ('YTfb',14560,-5600,569.05,270,1,0)
call CreateDestructableZ('YTfb',14496,-5600,635.39,270,1,0)
call CreateDestructableZ('YTfb',14432,-5600,715,270,1,0)
call CreateDestructableZ('YTfb',14368,-5536,873.25,270,1,0)
call CreateDestructableZ('YTfb',14304,-5536,952.12,270,1,0)
call CreateDestructableZ('YTfb',14240,-5536,1020.5,270,1,0)
call CreateDestructableZ('YTfb',14176,-5600,1048.75,270,1,0)
call CreateDestructableZ('YTfb',14112,-5600,1039.13,270,1,0)
call CreateDestructableZ('YTfb',14048,-5600,1004.84,270,1,0)
call CreateDestructableZ('YTfb',13984,-5600,945.91,270,1,0)
call CreateDestructableZ('YTfb',13920,-5600,836.22,270,1,0)
call CreateDestructableZ('YTfb',13856,-5600,675.78,270,1,0)
call CreateDestructableZ('YTfb',13792,-5600,512.31,270,1,0)
call CreateDestructableZ('YTfb',13728,-5536,372.44,270,1,0)
call CreateDestructableZ('YTfb',13664,-5536,254.59,270,1,0)
call CreateDestructableZ('YTfb',13600,-5536,166.41,270,1,0)
call CreateDestructableZ('YTfb',13664,-5472,267.67,270,1,0)
call CreateDestructableZ('YTfb',14496,-6496,318.61,270,1,0)
call CreateDestructableZ('YTfb',14432,-6560,291.02,270,1,0)
call CreateDestructableZ('YTfb',14560,-6432,318.23,270,1,0)
call CreateDestructableZ('YTfb',14624,-6368,309.52,270,1,0)
call CreateDestructableZ('YTfb',14688,-6176,344.02,270,1,0)
call CreateDestructableZ('YTfb',14752,-6112,334.14,270,1,0)
call CreateDestructableZ('YTfb',14816,-5984,410.28,270,1,0)
call CreateDestructableZ('YTfb',14432,-6624,228.42,270,1,0)
call CreateDestructableZ('YTfb',14304,-6752,36.39,270,1,0)
call CreateDestructableZ('YTfb',17888,-5408,667.25,270,1,0)
call CreateDestructableZ('YTfb',17824,-5472,561.5,270,1,0)
call CreateDestructableZ('YTfb',17760,-5536,518.87,270,1,0)
call CreateDestructableZ('YTfb',17696,-5600,563.37,270,1,0)
call CreateDestructableZ('YTfb',17632,-5664,617.37,270,1,0)
call CreateDestructableZ('YTfb',17568,-5728,593.87,270,1,0)
call CreateDestructableZ('YTfb',17504,-5792,505.94,270,1,0)
call CreateDestructableZ('YTfb',17440,-5856,439.81,270,1,0)
call CreateDestructableZ('YTfb',17440,-5920,473.03,270,1,0)
call CreateDestructableZ('YTfb',17376,-5984,526.53,270,1,0)
call CreateDestructableZ('YTfb',17376,-6048,597.67,270,1,0)
call CreateDestructableZ('YTfb',17376,-6112,626.39,270,1,0)
call CreateDestructableZ('YTfb',17376,-6176,554.95,270,1,0)
call CreateDestructableZ('YTfb',17376,-6240,383.36,270,1,0)
call CreateDestructableZ('YTfb',17312,-6240,398.08,270,1,0)
call CreateDestructableZ('YTfb',17120,-6368,263.39,270,1,0)
call CreateDestructableZ('YTfb',17056,-6496,241.06,270,1,0)
call CreateDestructableZ('YTfb',16992,-6560,171.27,270,1,0)
call CreateDestructableZ('YTfb',17504,-4896,884.67,270,1,0)
call CreateDestructableZ('YTfb',17440,-4896,913.89,270,1,0)
call CreateDestructableZ('YTfb',17376,-4896,935.42,270,1,0)
call CreateDestructableZ('YTfb',17312,-4896,949.27,270,1,0)
call CreateDestructableZ('YTfb',17248,-4896,960.89,270,1,0)
call CreateDestructableZ('YTfb',17184,-4896,970.3,270,1,0)
call CreateDestructableZ('YTfb',17120,-4896,923.72,270,1,0)
call CreateDestructableZ('YTfb',17056,-4832,798.83,270,1,0)
call CreateDestructableZ('YTfb',16992,-4832,707.98,270,1,0)
call CreateDestructableZ('YTfb',16928,-4832,605.2,270,1,0)
call CreateDestructableZ('YTfb',16864,-4768,532.77,270,1,0)
call CreateDestructableZ('YTfb',16800,-4768,472.42,270,1,0)
call CreateDestructableZ('YTfb',16736,-4704,450.61,270,1,0)
call CreateDestructableZ('YTfb',16672,-4640,413.23,270,1,0)
call CreateDestructableZ('YTfb',16608,-4640,394.25,270,1,0)
call CreateDestructableZ('YTfb',16544,-4640,371.62,270,1,0)
call CreateDestructableZ('YTfb',16480,-4576,335.37,270,1,0)
call CreateDestructableZ('YTfb',16416,-4576,314.25,270,1,0)
call CreateDestructableZ('YTfb',16352,-4640,278.45,270,1,0)
call CreateDestructableZ('YTfb',16352,-4704,243.11,270,1,0)
call CreateDestructableZ('YTfb',16288,-4768,141.87,270,1,0)
call CreateDestructableZ('YTfb',17504,-4000,604,270,1,0)
call CreateDestructableZ('YTfb',17440,-4000,598.75,270,1,0)
call CreateDestructableZ('YTfb',17376,-4000,656.75,270,1,0)
call CreateDestructableZ('YTfb',17312,-4000,778,270,1,0)
call CreateDestructableZ('YTfb',17248,-4000,889.55,270,1,0)
call CreateDestructableZ('YTfb',17184,-4000,991.39,270,1,0)
call CreateDestructableZ('YTfb',17120,-4000,1021.03,270,1,0)
call CreateDestructableZ('YTfb',17056,-4000,978.47,270,1,0)
call CreateDestructableZ('YTfb',16992,-4000,895.09,270,1,0)
call CreateDestructableZ('YTfb',16928,-4000,770.91,270,1,0)
call CreateDestructableZ('YTfb',16864,-4000,699.28,270,1,0)
call CreateDestructableZ('YTfb',16800,-3936,718.16,270,1,0)
call CreateDestructableZ('YTfb',16736,-3936,687.77,270,1,0)
call CreateDestructableZ('YTfb',16672,-3872,644.52,270,1,0)
call CreateDestructableZ('YTfb',16608,-3872,594.95,270,1,0)
call CreateDestructableZ('YTfb',16544,-3872,535.36,270,1,0)
call CreateDestructableZ('YTfb',16480,-3872,471.78,270,1,0)
call CreateDestructableZ('YTfb',16416,-3808,453.02,270,1,0)
call CreateDestructableZ('YTfb',16352,-3744,440.84,270,1,0)
call CreateDestructableZ('YTfb',16352,-3680,449.78,270,1,0)
call CreateDestructableZ('YTfb',16288,-3616,414.16,270,1,0)
call CreateDestructableZ('YTfb',16224,-3552,349.87,270,1,0)
call CreateDestructableZ('YTfb',16160,-3488,249.25,270,1,0)
call CreateDestructableZ('YTfb',16160,-3424,233.73,270,1,0)
call CreateDestructableZ('YTfb',16160,-3360,216.95,270,1,0)
call CreateDestructableZ('YTfb',16224,-3296,235.87,270,1,0)
call CreateDestructableZ('YTfb',16224,-3232,216.25,270,1,0)
call CreateDestructableZ('YTfb',16224,-3168,190.67,270,1,0)
call CreateDestructableZ('YTfb',16224,-3104,159.14,270,1,0)
call CreateDestructable('B006',20928,-960,0,3,0)
call CreateDestructable('YTfb',20832,-1632,270,1,0)
call CreateDestructable('YTfb',20896,-1632,270,1,0)
call CreateDestructable('YTfb',20960,-1632,270,1,0)
call CreateDestructable('YTfb',21024,-1632,270,1,0)
call CreateDestructable('YTfb',21088,-1632,270,1,0)
call CreateDestructable('YTfb',21152,-1632,270,1,0)
call CreateDestructable('YTfb',21216,-1568,270,1,0)
call CreateDestructable('YTfb',21280,-1568,270,1,0)
call CreateDestructable('YTfb',21344,-1504,270,1,0)
call CreateDestructable('YTfb',21408,-1504,270,1,0)
call CreateDestructable('YTfb',21472,-1504,270,1,0)
call CreateDestructable('YTfb',21536,-1440,270,1,0)
call CreateDestructable('YTfb',21536,-1376,270,1,0)
call CreateDestructable('YTfb',21600,-1312,270,1,0)
call CreateDestructable('YTfb',21600,-1248,270,1,0)
call CreateDestructable('YTfb',21600,-1184,270,1,0)
call CreateDestructable('YTfb',21600,-1120,270,1,0)
call CreateDestructable('YTfb',21664,-1056,270,1,0)
call CreateDestructable('YTfb',21600,-992,270,1,0)
call CreateDestructable('YTfb',21600,-928,270,1,0)
call CreateDestructable('YTfb',21600,-864,270,1,0)
call CreateDestructable('YTfb',21600,-800,270,1,0)
call CreateDestructable('YTfb',21600,-736,270,1,0)
call CreateDestructable('YTfb',21600,-672,270,1,0)
call CreateDestructable('YTfb',21600,-608,270,1,0)
call CreateDestructable('YTfb',21600,-544,270,1,0)
call CreateDestructable('YTfb',21600,-480,270,1,0)
call CreateDestructable('YTfb',21536,-480,270,1,0)
call CreateDestructable('YTfb',21472,-480,270,1,0)
call CreateDestructable('YTfb',21408,-416,270,1,0)
call CreateDestructable('YTfb',21344,-416,270,1,0)
call CreateDestructable('YTfb',21280,-352,270,1,0)
call CreateDestructable('YTfb',21216,-352,270,1,0)
call CreateDestructable('YTfb',21152,-352,270,1,0)
call CreateDestructable('YTfb',21088,-352,270,1,0)
call CreateDestructable('YTfb',20960,-352,270,1,0)
call CreateDestructable('YTfb',21024,-352,270,1,0)
call CreateDestructable('YTfb',20896,-352,270,1,0)
call CreateDestructable('YTfb',20832,-352,270,1,0)
call CreateDestructable('YTfb',20768,-352,270,1,0)
call CreateDestructable('YTfb',20704,-352,270,1,0)
call CreateDestructable('YTfb',20640,-352,270,1,0)
call CreateDestructable('YTfb',20576,-352,270,1,0)
call CreateDestructable('YTfb',20512,-352,270,1,0)
call CreateDestructable('YTfb',20448,-352,270,1,0)
call CreateDestructable('YTfb',20384,-416,270,1,0)
call CreateDestructable('YTfb',20320,-416,270,1,0)
call CreateDestructable('YTfb',20256,-480,270,1,0)
call CreateDestructable('YTfb',20256,-544,270,1,0)
call CreateDestructable('YTfb',20256,-608,270,1,0)
call CreateDestructable('YTfb',20256,-672,270,1,0)
call CreateDestructable('YTfb',20256,-736,270,1,0)
call CreateDestructable('YTfb',20256,-800,270,1,0)
call CreateDestructable('YTfb',20256,-864,270,1,0)
call CreateDestructable('YTfb',20256,-928,270,1,0)
call CreateDestructable('YTfb',20256,-992,270,1,0)
call CreateDestructable('YTfb',20256,-1056,270,1,0)
call CreateDestructable('YTfb',20256,-1120,270,1,0)
call CreateDestructable('YTfb',20256,-1184,270,1,0)
call CreateDestructable('YTfb',20256,-1248,270,1,0)
call CreateDestructable('YTfb',20256,-1312,270,1,0)
call CreateDestructable('YTfb',20320,-1376,270,1,0)
call CreateDestructable('YTfb',20384,-1440,270,1,0)
call CreateDestructable('YTfb',20448,-1440,270,1,0)
call CreateDestructable('YTfb',20512,-1504,270,1,0)
call CreateDestructable('YTfb',20576,-1504,270,1,0)
call CreateDestructable('YTfb',20640,-1568,270,1,0)
call CreateDestructable('YTfb',20704,-1568,270,1,0)
call CreateDestructable('YTfb',20768,-1632,270,1,0)
call CreateDestructableZ('YTfb',9248,-96,813.25,270,1,0)
call CreateDestructableZ('YTfb',9312,-160,484.3,270,1,0)
call CreateDestructableZ('YTfb',9312,-224,248.52,270,1,0)
call CreateDestructableZ('YTfb',9888,-672,300.94,270,1,0)
call CreateDestructableZ('YTfb',10080,736,355.94,270,1,0)
call CreateDestructableZ('YTfb',10016,672,204.69,270,1,0)
call CreateDestructableZ('YTfb',9952,608,104.11,270,1,0)
call CreateDestructableZ('YTfb',10400,608,131.12,270,1,0)
call CreateDestructableZ('YTfb',10336,864,489.83,270,1,0)
call CreateDestructableZ('YTfb',10336,800,446.98,270,1,0)
call CreateDestructableZ('YTfb',10080,992,595.42,270,1,0)
call CreateDestructableZ('YTfb',9952,1056,491.73,270,1,0)
call CreateDestructableZ('YTfb',9952,1120,447.2,270,1,0)
call CreateDestructableZ('YTfb',9952,1184,368.12,270,1,0)
call CreateDestructableZ('YTfb',9888,1248,187,270,1,0)
call CreateDestructableZ('YTfb',9888,1312,109.58,270,1,0)
call CreateDestructableZ('YTfb',8992,416,773,270,1,0)
call CreateDestructableZ('YTfb',8992,480,720.37,270,1,0)
call CreateDestructableZ('YTfb',8992,544,624.48,270,1,0)
call CreateDestructableZ('YTfb',8992,608,485.33,270,1,0)
call CreateDestructableZ('YTfb',8992,672,365.44,270,1,0)
call CreateDestructableZ('YTfb',8992,736,264.81,270,1,0)
call CreateDestructableZ('YTfb',8608,480,540.02,270,1,0)
call CreateDestructableZ('YTfb',8544,544,481.59,270,1,0)
call CreateDestructableZ('YTfb',8480,544,429.66,270,1,0)
call CreateDestructableZ('YTfb',8416,544,351.55,270,1,0)
call CreateDestructableZ('YTfb',8352,608,219.05,270,1,0)
call CreateDestructableZ('YTfb',8288,672,117.86,270,1,0)
call CreateDestructableZ('YTfb',7520,160,450.22,270,1,0)
call CreateDestructableZ('YTfb',7456,160,465.41,270,1,0)
call CreateDestructableZ('YTfb',7392,160,453.06,270,1,0)
call CreateDestructableZ('YTfb',7584,96,435.44,270,1,0)
call CreateDestructableZ('YTfb',7648,96,425.69,270,1,0)
call CreateDestructableZ('YTfb',7264,224,324.52,270,1,0)
call CreateDestructableZ('YTfb',7264,288,299.27,270,1,0)
call CreateDestructableZ('YTfb',7200,352,187.14,270,1,0)
call CreateDestructableZ('YTfb',1120,-14304,350.47,270,1,0)
call CreateDestructableZ('YTfb',1120,-14240,512.91,270,1,0)
call CreateDestructableZ('YTfb',1184,-14176,638.95,270,1,0)
call CreateDestructableZ('YTfb',1184,-14112,749.98,270,1,0)
call CreateDestructableZ('YTfb',1184,-14048,807.97,270,1,0)
call CreateDestructableZ('YTfb',1184,-13984,812.91,270,1,0)
call CreateDestructableZ('YTfb',1312,-13920,716.56,270,1,0)
call CreateDestructableZ('YTfb',1376,-13856,788.94,270,1,0)
call CreateDestructableZ('YTfb',1440,-13792,802.58,270,1,0)
call CreateDestructableZ('YTfb',1504,-13728,709.2,270,1,0)
call CreateDestructableZ('YTfb',1568,-13664,606.59,270,1,0)
call CreateDestructableZ('YTfb',1696,-13536,498.2,270,1,0)
call CreateDestructableZ('YTfb',1760,-13472,453.08,270,1,0)
call CreateDestructableZ('YTfb',1824,-13408,429.64,270,1,0)
call CreateDestructableZ('YTfb',1888,-13344,404.64,270,1,0)
call CreateDestructableZ('YTfb',1952,-13280,386.75,270,1,0)
call CreateDestructableZ('YTfb',2016,-13216,355.62,270,1,0)
call CreateDestructable('YTfc',4992,-11392,270,1,0)
call CreateDestructableZ('YTfb',5216,-8544,-8,270,1,0)
call CreateDestructableZ('YTfb',5024,-8480,-24,270,1,0)
call CreateDestructable('YTfb',4896,-8480,270,1,0)
call CreateDestructable('YTfb',4960,-8480,270,1,0)
call CreateDestructable('YTfb',4704,-8480,270,1,0)
call CreateDestructableZ('YTfc',7744,1216,135.31,270,1,0)
call CreateDestructableZ('YTfc',7744,1344,264.87,270,1,0)
call CreateDestructableZ('YTfb',6944,-1376,16.05,270,1,0)
call CreateDestructableZ('YTfb',6944,-1440,32.81,270,1,0)
call CreateDestructableZ('YTfb',6816,-1056,-29.91,270,1,0)
call CreateDestructableZ('YTfb',6560,-544,119.95,270,1,0)
call CreateDestructableZ('YTfb',6752,-864,19.97,270,1,0)
call CreateDestructableZ('YTfb',6816,-864,117.12,270,1,0)
call CreateDestructableZ('YTfb',6816,-928,38.38,270,1,0)
call CreateDestructableZ('YTfb',6624,-672,92.62,270,1,0)
call CreateDestructableZ('YTfb',6496,-544,28.73,270,1,0)
call CreateDestructable('YTfb',4832,-8608,270,1,0)
call CreateDestructableZ('YTfb',6560,-672,-26.25,270,1,0)
call CreateDestructableZ('YTfc',5696,-5440,-43,270,1,0)
call CreateDestructable('B00A',-2016,-4640,270,.84,0)
call CreateDestructableZ('YTfc',5568,-5568,-36.69,270,1,0)
call CreateDestructable('YTfb',4896,-8544,270,1,0)
call CreateDestructableZ('YTfc',7744,1472,437.19,270,1,0)
call CreateDestructableZ('YTfc',5248,-5696,-147.62,270,1,0)
call CreateDestructableZ('YTfc',7808,1600,588.5,270,1,0)
call CreateDestructable('Ytlc',21184,-20928,270,1,0)
call CreateDestructable('Ytlc',21312,-20928,270,1,0)
call CreateDestructable('Ytlc',21440,-20928,270,1,0)
call CreateDestructableZ('YTfb',6496,-608,-48.92,270,1,0)
call CreateDestructableZ('YTfb',6368,-480,-79.06,270,1,0)
call CreateDestructable('Ytlc',21568,-20928,270,1,0)
call CreateDestructable('Ytlc',21696,-20928,270,1,0)
call CreateDestructableZ('YTfc',5376,-5632,-144.5,270,1,0)
call CreateDestructableZ('YTfb',6176,-544,-128,270,1,0)
call CreateDestructable('Ytlc',21824,-20928,270,1,0)
call CreateDestructable('Ytlc',21952,-20928,270,1,0)
call CreateDestructable('Ytlc',22080,-20928,270,1,0)
call CreateDestructable('Ytlc',22208,-20928,270,1,0)
call CreateDestructable('Ytlc',22336,-20928,270,1,0)
call CreateDestructable('Ytlc',22464,-20928,270,1,0)
call CreateDestructableZ('YTfb',6240,-544,-128,270,1,0)
call CreateDestructableZ('YTfb',6304,-544,-125.06,270,1,0)
call CreateDestructableZ('YTfb',6240,-416,-32.28,270,1,0)
call CreateDestructableZ('YTfb',7072,-1952,-96.09,270,1,0)
call CreateDestructableZ('YTfb',6240,-352,-.38,270,1,0)
call CreateDestructable('Ytlc',21056,-20928,270,1,0)
call CreateDestructable('Ytlc',20928,-20928,270,1,0)
call CreateDestructable('Ytlc',20928,-21056,270,1,0)
call CreateDestructableZ('YTfb',3040,-2080,-96,270,1,0)
call CreateDestructableZ('YTfb',6176,-352,-.13,270,1,0)
call CreateDestructableZ('YTfb',6304,-416,-23.19,270,1,0)
call CreateDestructableZ('YTfb',6176,-416,-32.09,270,1,0)
call CreateDestructable('YTfb',4960,-800,270,1,0)
call CreateDestructableZ('YTfb',5024,-800,-8.14,270,1,0)
call CreateDestructableZ('YTfb',6816,-1184,-75.34,270,1,0)
call CreateDestructableZ('YTfb',6752,-1312,-128,270,1,0)
call CreateDestructableZ('YTfb',5088,-800,-24.42,270,1,0)
call CreateDestructableZ('YTfb',5216,-800,-32.14,270,1,0)
call CreateDestructableZ('YTfb',6752,-1120,-118.41,270,1,0)
call CreateDestructableZ('YTfb',7072,-1888,-96.16,270,1,0)
call CreateDestructableZ('YTfb',5152,-800,-32.42,270,1,0)
call CreateDestructableZ('YTfc',7872,1856,304.5,270,1,0)
call CreateDestructableZ('YTfc',9152,1728,510.56,270,1,0)
call CreateDestructableZ('YTfc',9152,1856,578.75,270,1,0)
call CreateDestructableZ('YTfc',9088,1984,647.25,270,1,0)
call CreateDestructable('Ytlc',22464,-19264,270,1,0)
call CreateDestructableZ('YTfb',5152,-736,8.53,270,1,0)
call CreateDestructableZ('YTfb',5216,-736,6.97,270,1,0)
call CreateDestructableZ('YTfb',6368,-544,-119.19,270,1,0)
call CreateDestructableZ('YTfb',7072,-1824,-96.22,270,1,0)
call CreateDestructableZ('YTfb',5344,-608,27.97,270,1,0)
call CreateDestructableZ('YTfb',5408,-608,-7.89,270,1,0)
call CreateDestructableZ('YTfb',5408,-544,41.83,270,1,0)
call CreateDestructableZ('YTfb',7008,-1824,-128,270,1,0)
call CreateDestructableZ('YTfb',7200,-1632,177.2,270,1,0)
call CreateDestructable('Ytlc',22336,-19264,270,1,0)
call CreateDestructable('Ytlc',22208,-19264,270,1,0)
call CreateDestructable('Ytlc',22080,-19264,270,1,0)
call CreateDestructableZ('YTfc',5824,-5440,-20.62,270,1,0)
call CreateDestructableZ('YTfb',5920,-5472,26.28,270,1,0)
call CreateDestructableZ('B00A',-928,-992,90.27,270,1.15,2)
call CreateDestructableZ('B00A',-608,-1440,27.27,270,1.15,1)
call CreateDestructableZ('YTfc',5952,-5376,33.25,270,1,0)
call CreateDestructableZ('YTfb',7264,-1696,122,270,1,0)
call CreateDestructable('YTfb',5088,-8672,270,1,0)
call CreateDestructableZ('YTfb',5920,-288,32.92,270,1,0)
call CreateDestructableZ('YTfb',5856,-352,37.95,270,1,0)
call CreateDestructableZ('YTfb',7200,-1696,92,270,1,0)
call CreateDestructableZ('YTfb',7136,-1568,216.62,270,1,0)
call CreateDestructableZ('YTfb',7072,-1568,129.62,270,1,0)
call CreateDestructable('Ytlc',21952,-19264,270,1,0)
call CreateDestructable('Ytlc',21824,-19264,270,1,0)
call CreateDestructable('Ytlc',21696,-19264,270,1,0)
call CreateDestructableZ('YTfb',7136,-1696,56.13,270,1,0)
call CreateDestructableZ('YTfb',7072,-1632,77.37,270,1,0)
call CreateDestructableZ('YTfb',7072,-1504,168.77,270,1,0)
call CreateDestructableZ('YTfb',7008,-1376,102.27,270,1,0)
call CreateDestructableZ('YTfb',6432,-544,-67.92,270,1,0)
call CreateDestructable('Ytlc',21568,-19264,270,1,0)
call CreateDestructable('Ytlc',21440,-19264,270,1,0)
call CreateDestructableZ('YTfb',6304,-480,-90.44,270,1,0)
call CreateDestructableZ('YTfb',6432,-480,-20.83,270,1,0)
call CreateDestructableZ('YTfb',7008,-1504,85.31,270,1,0)
call CreateDestructableZ('YTfb',6944,-1504,27.69,270,1,0)
call CreateDestructable('Ytlc',21312,-19264,270,1,0)
call CreateDestructableZ('YTfb',6176,-480,-96.03,270,1,0)
call CreateDestructableZ('YTfb',6240,-480,-96.09,270,1,0)
call CreateDestructableZ('YTfb',5984,-352,-61.95,270,1,0)
call CreateDestructableZ('YTfb',6048,-416,-104,270,1,0)
call CreateDestructableZ('YTfb',6112,-416,-56,270,1,0)
call CreateDestructableZ('YTfb',5600,-544,-98.14,270,1,0)
call CreateDestructableZ('YTfb',5472,-672,-104.19,270,1,0)
call CreateDestructableZ('YTfb',5728,-544,-128.42,270,1,0)
call CreateDestructableZ('YTfb',5536,-672,-128,270,1,0)
call CreateDestructable('Ytlc',21184,-19264,270,1,0)
call CreateDestructable('Ytlc',21056,-19264,270,1,0)
call CreateDestructable('Ytlc',20928,-19264,270,1,0)
call CreateDestructableZ('YTfb',4704,-992,-72,270,1,0)
call CreateDestructableZ('YTfb',4704,-928,-24,270,1,0)
call CreateDestructableZ('YTfb',4832,-928,-32,270,1,0)
call CreateDestructable('Ytlc',20928,-19392,270,1,0)
call CreateDestructableZ('YTfb',4512,-992,-72,270,1,0)
call CreateDestructable('Ytlc',20928,-19520,270,1,0)
call CreateDestructableZ('YTfb',4640,-928,-8,270,1,0)
call CreateDestructable('Ytlc',20928,-19648,270,1,0)
call CreateDestructable('YTfb',4960,-864,270,1,0)
call CreateDestructableZ('YTfb',4768,-928,-32,270,1,0)
call CreateDestructable('Ytlc',20928,-19776,270,1,0)
call CreateDestructable('Ytlc',20928,-19904,270,1,0)
call CreateDestructable('Ytlc',20928,-20032,270,1,0)
call CreateDestructableZ('YTfb',5728,-416,10.98,270,1,0)
call CreateDestructableZ('YTfb',5536,-480,25.39,270,1,0)
call CreateDestructableZ('B00A',5984,-6048,50.61,270,1,0)
call CreateDestructable('B00A',4320,-8224,270,.98,2)
call CreateDestructableZ('YTfb',5536,-416,90.3,270,1,0)
call CreateDestructableZ('YTfb',5536,-352,139.16,270,1,0)
call CreateDestructableZ('YTfb',5472,-480,71.19,270,1,0)
call CreateDestructableZ('YTfb',5408,-480,93.69,270,1,0)
call CreateDestructableZ('YTfc',6080,-192,10.69,270,1,0)
call CreateDestructableZ('YTfc',6912,-960,252,270,1,0)
call CreateDestructableZ('YTfb',7200,-1952,7.17,270,1,0)
call CreateDestructableZ('YTfb',7200,-2016,9.27,270,1,0)
call CreateDestructableZ('YTfb',7200,-1888,6.36,270,1,0)
call CreateDestructableZ('YTfb',6944,-1952,-128,270,1,0)
call CreateDestructableZ('YTfb',7008,-1952,-128,270,1,0)
call CreateDestructableZ('YTfb',6880,-1952,-128,270,1,0)
call CreateDestructableZ('YTfb',6944,-2080,-128,270,1,0)
call CreateDestructableZ('YTfb',7008,-2080,-128,270,1,0)
call CreateDestructableZ('YTfb',6944,-2016,-128,270,1,0)
call CreateDestructableZ('YTfb',7008,-2016,-128,270,1,0)
call CreateDestructableZ('YTfb',7072,-2272,-94.89,270,1,0)
call CreateDestructableZ('YTfb',7008,-1888,-128,270,1,0)
call CreateDestructableZ('YTfc',7872,1984,105.12,270,1,0)
call CreateDestructable('Ytlc',20928,-20160,270,1,0)
call CreateDestructable('Ytlc',20928,-20288,270,1,0)
call CreateDestructable('Ytlc',20928,-20416,270,1,0)
call CreateDestructable('Ytlc',20928,-20544,270,1,0)
call CreateDestructable('Ytlc',20928,-20672,270,1,0)
call CreateDestructable('Ytlc',20928,-20800,270,1,0)
call CreateDestructable('Ytlc',20928,-22464,270,1,0)
call CreateDestructable('Ytlc',20928,-22336,270,1,0)
call CreateDestructable('Ytlc',20928,-22208,270,1,0)
call CreateDestructable('Ytlc',20928,-22080,270,1,0)
call CreateDestructable('Ytlc',20928,-21952,270,1,0)
call CreateDestructable('Ytlc',20928,-21824,270,1,0)
call CreateDestructable('YTfb',5024,-8672,270,1,0)
call CreateDestructable('Ytlc',20928,-21696,270,1,0)
call CreateDestructable('Ytlc',20928,-21568,270,1,0)
call CreateDestructableZ('YTfb',4448,-928,-32,270,1,0)
call CreateDestructable('YTfb',5152,-8672,270,1,0)
call CreateDestructable('B00A',-2016,-3680,270,1.07,2)
call CreateDestructable('YTfb',5152,-8608,270,1,0)
call CreateDestructableZ('B00A',2272,-3744,-24,270,1.11,2)
call CreateDestructableZ('B00A',2528,-3232,-24,270,.96,0)
call CreateDestructableZ('YTfc',6144,-5824,111,270,1,0)
call CreateDestructable('B00A',-2016,-4384,270,1.19,0)
call CreateDestructable('B00A',-2016,-3360,270,.84,0)
call CreateDestructable('YTfb',5216,-8608,270,1,0)
call CreateDestructableZ('B00A',2400,-3616,-96,270,.94,2)
call CreateDestructableZ('YTfc',5952,-5760,52.88,270,1,0)
call CreateDestructableZ('B00A',-992,-1312,42.89,270,1.06,2)
call CreateDestructableZ('B00A',2592,-3488,-151.37,270,1.18,2)
call CreateDestructableZ('B00A',2400,-3488,-96,270,1.02,0)
call CreateDestructable('YTfb',4384,-8480,270,1,0)
call CreateDestructable('YTfb',4448,-8480,270,1,0)
call CreateDestructableZ('YTfb',4448,-8416,-24,270,1,0)
call CreateDestructable('Ytlc',20928,-21440,270,1,0)
call CreateDestructable('Ytlc',20928,-21312,270,1,0)
call CreateDestructable('Ytlc',20928,-21184,270,1,0)
call CreateDestructableZ('CTtc',5472,-20576,150,270,1.15,1)
call CreateDestructableZ('CTtc',6752,-20576,128,270,1.15,1)
call CreateDestructableZ('YTfc',5952,-5632,-3.37,270,1,0)
call CreateDestructable('ZTtw',21440,-19840,270,.92,3)
call CreateDestructableZ('B00A',1824,-4192,-24,270,1.11,1)
call CreateDestructableZ('B009',12192,-14304,188.37,270,1.18,2)
call CreateDestructableZ('CTtc',6368,-20576,128,270,1.15,1)
call CreateDestructable('YTfb',4448,-8096,270,1,0)
call CreateDestructableZ('YTfc',15616,-9920,801.87,270,1,0)
call CreateDestructableZ('YTfc',15744,-9856,535,270,1,0)
call CreateDestructableZ('YTfc',15872,-9920,506.75,270,1,0)
call CreateDestructableZ('YTfc',16000,-9984,447.5,270,1,0)
call CreateDestructableZ('YTfc',16128,-10048,214,270,1,0)
call CreateDestructableZ('YTfc',14528,-10112,335.25,270,1,0)
call CreateDestructableZ('YTfc',14400,-10240,72,270,1,0)
call CreateDestructableZ('YTfc',14464,-10432,42.5,270,1,0)
call CreateDestructableZ('YTfc',15296,-10432,528.25,270,1,0)
call CreateDestructableZ('YTfc',15296,-10560,221.37,270,1,0)
call CreateDestructableZ('YTfc',14784,-12416,874.75,270,1,0)
call CreateDestructableZ('YTfc',14656,-12288,618,270,1,0)
call CreateDestructableZ('YTfc',14528,-12160,368,270,1,0)
call CreateDestructableZ('YTfc',14400,-12032,254.5,270,1,0)
call CreateDestructableZ('YTfc',14272,-11904,74.25,270,1,0)
call CreateDestructableZ('YTfc',14272,-11776,34,270,1,0)
call CreateDestructableZ('YTfc',14976,-12480,912.5,270,1,0)
call CreateDestructableZ('YTfc',14976,-12352,777.12,270,1,0)
call CreateDestructableZ('YTfc',15040,-12224,591.81,270,1,0)
call CreateDestructableZ('YTfc',15104,-12096,403.25,270,1,0)
call CreateDestructableZ('YTfc',15168,-11968,244.56,270,1,0)
call CreateDestructableZ('YTfc',16768,-12608,685.12,270,1,0)
call CreateDestructableZ('YTfc',16768,-12480,501.87,270,1,0)
call CreateDestructableZ('YTfc',16896,-12352,286.12,270,1,0)
call CreateDestructableZ('YTfc',17024,-12224,133.5,270,1,0)
call CreateDestructableZ('YTfc',15808,-8768,65.81,270,1,0)
call CreateDestructableZ('YTfc',15808,-9024,371.06,270,1,0)
call CreateDestructableZ('YTfc',15936,-8960,225.37,270,1,0)
call CreateDestructableZ('YTfc',16064,-8896,176.25,270,1,0)
call CreateDestructableZ('YTfc',16192,-8768,96.69,270,1,0)
call CreateDestructableZ('YTfc',15616,-8896,179.75,270,1,0)
call CreateDestructableZ('YTfc',15488,-8768,144.87,270,1,0)
call CreateDestructableZ('YTfc',15360,-8640,234.87,270,1,0)
call CreateDestructableZ('YTfc',15232,-8512,180.87,270,1,0)
call CreateDestructableZ('YTfc',15168,-8384,85.12,270,1,0)
call CreateDestructableZ('YTfc',15616,-9600,609.25,270,1,0)
call CreateDestructableZ('YTfc',15488,-9536,513.37,270,1,0)
call CreateDestructableZ('YTfc',15360,-9472,489,270,1,0)
call CreateDestructableZ('YTfc',15232,-9408,466,270,1,0)
call CreateDestructableZ('YTfc',15104,-9344,561,270,1,0)
call CreateDestructableZ('YTfc',14976,-9280,448,270,1,0)
call CreateDestructableZ('YTfc',14848,-9152,231.12,270,1,0)
call CreateDestructableZ('YTfc',14720,-9088,234.5,270,1,0)
call CreateDestructableZ('YTfc',14656,-8960,163.62,270,1,0)
call CreateDestructableZ('YTfc',14528,-8832,120,270,1,0)
call CreateDestructableZ('YTfc',14400,-8768,75.69,270,1,0)
call CreateDestructableZ('YTfc',16640,-12800,872.75,270,1,0)
call CreateDestructableZ('YTfc',16640,-12928,655,270,1,0)
call CreateDestructableZ('YTfc',16768,-13056,302.5,270,1,0)
call CreateDestructableZ('YTfc',16704,-13184,74.37,270,1,0)
call CreateDestructableZ('YTfc',15936,-12800,859.25,270,1,0)
call CreateDestructableZ('YTfc',15936,-12928,516,270,1,0)
call CreateDestructableZ('YTfc',16000,-13056,95,270,1,0)
call CreateDestructableZ('YTfc',14912,-12672,938,270,1,0)
call CreateDestructableZ('YTfc',14912,-12800,840.87,270,1,0)
call CreateDestructableZ('YTfc',15040,-12736,940.5,270,1,0)
call CreateDestructableZ('YTfc',14208,-13184,576.5,270,1,0)
call CreateDestructableZ('YTfc',14208,-13312,364,270,1,0)
call CreateDestructableZ('YTfc',14208,-13440,131.5,270,1,0)
call CreateDestructableZ('YTfc',20096,-9536,21.25,270,1,0)
call CreateDestructableZ('YTfc',20416,-9280,-.13,270,1,0)
call CreateDestructable('YTfc',20416,-9408,270,1,0)
call CreateDestructable('YTfc',21184,-9024,270,1,0)
call CreateDestructable('YTfc',21184,-9152,270,1,0)
call CreateDestructable('YTfc',21248,-9280,270,1,0)
call CreateDestructable('YTfc',21184,-9408,270,1,0)
call CreateDestructable('YTfc',21184,-9536,270,1,0)
call CreateDestructableZ('YTfb',9760,-3360,134.33,270,1,0)
call CreateDestructableZ('YTfb',9760,-3296,153.64,270,1,0)
call CreateDestructableZ('YTfb',9696,-3232,181.86,270,1,0)
call CreateDestructableZ('YTfb',9760,-3232,165.05,270,1,0)
call CreateDestructableZ('YTfb',9952,-3360,46.63,270,1,0)
call CreateDestructableZ('YTfc',4096,-7040,-128.25,270,1,0)
call CreateDestructableZ('YTfc',3968,-6784,-128,270,1,0)
call CreateDestructableZ('YTfc',3968,-6656,-128,270,1,0)
call CreateDestructableZ('YTfb',4064,-6944,-96.05,270,1,0)
call CreateDestructableZ('YTfb',4064,-6880,-104,270,1,0)
call CreateDestructableZ('YTfb',4064,-6816,-120,270,1,0)
call CreateDestructableZ('YTfb',4128,-6816,-128.03,270,1,0)
call CreateDestructableZ('YTfb',4192,-6816,-128.09,270,1,0)
call CreateDestructableZ('YTfb',4256,-7264,-125.25,270,1,0)
call CreateDestructableZ('YTfc',4224,-7360,-64.25,270,1,0)
call CreateDestructableZ('YTfc',4224,-7552,-128,270,1,0)
call CreateDestructableZ('YTfc',4480,-7872,-57.88,270,1,0)
call CreateDestructableZ('YTfc',4544,-8128,-64,270,1,0)
call CreateDestructableZ('YTfc',4800,-8384,-64,270,1,0)
call CreateDestructableZ('YTfc',4672,-8384,-64,270,1,0)
call CreateDestructableZ('YTfc',4928,-8384,-64,270,1,0)
call CreateDestructableZ('YTfc',5056,-8384,-96,270,1,0)
call CreateDestructableZ('YTfc',5184,-8384,-80,270,1,0)
call CreateDestructableZ('YTfb',4576,-8352,-96,270,1,0)
call CreateDestructableZ('YTfb',4512,-8352,-96,270,1,0)
call CreateDestructableZ('YTfb',4448,-8352,-72,270,1,0)
call CreateDestructableZ('YTfb',4640,-8288,-128,270,1,0)
call CreateDestructableZ('YTfb',4640,-8224,-128,270,1,0)
call CreateDestructableZ('YTfb',4896,-8288,-128,270,1,0)
call CreateDestructableZ('YTfb',4448,-7776,-121.16,270,1,0)
call CreateDestructableZ('YTfb',4384,-7648,-127.39,270,1,0)
call CreateDestructableZ('YTfb',4576,-7776,-116.52,270,1,0)
call CreateDestructableZ('YTfb',4512,-7776,-118.05,270,1,0)
call CreateDestructableZ('YTfb',4256,-7648,-56.02,270,1,0)
call CreateDestructableZ('YTfb',4320,-7648,-104.05,270,1,0)
call CreateDestructableZ('YTfb',4256,-7456,-56.02,270,1,0)
call CreateDestructableZ('YTfb',4320,-7456,-104.05,270,1,0)
call CreateDestructableZ('YTfb',4704,-7904,-127.37,270,1,0)
call CreateDestructableZ('YTfb',4192,-7264,-90.87,270,1,0)
call CreateDestructableZ('YTfb',4128,-7136,-46.88,270,1,0)
call CreateDestructableZ('YTfb',4000,-6880,-56,270,1,0)
call CreateDestructable('YTfb',3936,-6944,270,1,0)
call CreateDestructable('YTfb',3872,-6944,270,1,0)
call CreateDestructableZ('YTfb',3872,-6880,-8,270,1,0)
call CreateDestructable('YTfb',3936,-7008,270,1,0)
call CreateDestructableZ('YTfb',3680,-6560,-72,270,1,0)
call CreateDestructableZ('YTfb',3744,-6560,-72,270,1,0)
call CreateDestructable('YTfc',3776,-6656,270,1,0)
call CreateDestructableZ('YTfc',3584,-6464,-64,270,1,0)
call CreateDestructableZ('YTfc',3712,-6464,-128,270,1,0)
call CreateDestructableZ('YTfc',3072,-6336,-128,270,1,0)
call CreateDestructableZ('YTfb',3296,-6432,-104,270,1,0)
call CreateDestructableZ('YTfb',3232,-6496,-104,270,1,0)
call CreateDestructableZ('YTfb',3168,-6496,-104,270,1,0)
call CreateDestructableZ('YTfb',3168,-6560,-72.03,270,1,0)
call CreateDestructableZ('YTfb',3040,-6240,-96,270,1,0)
call CreateDestructableZ('YTfb',3168,-6304,-128,270,1,0)
call CreateDestructableZ('YTfb',2976,-6112,-60,270,1,0)
call CreateDestructableZ('YTfb',2912,-6048,-84,270,1,0)
call CreateDestructableZ('YTfb',2912,-5984,-116,270,1,0)
call CreateDestructableZ('YTfb',3040,-6176,-96,270,1,0)
call CreateDestructableZ('YTfb',3040,-6112,-116,270,1,0)
call CreateDestructableZ('YTfb',2336,-5920,-96,270,1,0)
call CreateDestructableZ('YTfb',2400,-5920,-96,270,1,0)
call CreateDestructableZ('YTfb',2272,-5792,-96,270,1,0)
call CreateDestructable('YTfb',2144,-5728,270,1,0)
call CreateDestructable('YTfb',2080,-5664,270,1,0)
call CreateDestructable('YTfb',2016,-5600,270,1,0)
call CreateDestructable('YTfb',2144,-5792,270,1,0)
call CreateDestructableZ('YTfb',2272,-5984,-24,270,1,0)
call CreateDestructableZ('YTfb',2272,-5920,-72,270,1,0)
call CreateDestructableZ('YTfb',2208,-5856,-32,270,1,0)
call CreateDestructable('YTfb',2272,-6048,270,1,0)
call CreateDestructableZ('YTfb',2208,-5920,-24,270,1,0)
call CreateDestructableZ('YTfb',2080,-5600,-8,270,1,0)
call CreateDestructable('YTfb',1760,-5344,270,1,0)
call CreateDestructable('YTfb',1760,-5408,270,1,0)
call CreateDestructableZ('YTfb',1824,-5344,-8,270,1,0)
call CreateDestructable('YTfc',1792,-5568,270,1,0)
call CreateDestructable('YTfb',2080,-5792,270,1,0)
call CreateDestructable('YTfb',2080,-5728,270,1,0)
call CreateDestructableZ('YTfb',1888,-5344,-24,270,1,0)
call CreateDestructableZ('YTfc',2048,-5312,-128,270,1,0)
call CreateDestructableZ('YTfb',1760,-5088,-96,270,1,0)
call CreateDestructableZ('YTfb',1760,-5152,-72,270,1,0)
call CreateDestructableZ('YTfb',1760,-4832,-104,270,1,0)
call CreateDestructableZ('YTfb',1824,-5024,-137.75,270,1,0)
call CreateDestructableZ('YTfb',1760,-4768,-120,270,1,0)
call CreateDestructableZ('YTfb',1824,-4256,-56,270,1,0)
call CreateDestructableZ('YTfb',2144,-3936,-72,270,1,0)
call CreateDestructableZ('YTfb',2336,-3744,-56,270,1,0)
call CreateDestructableZ('YTfb',2464,-3616,-137.75,270,1,0)
call CreateDestructable('B00A',-2016,-5024,270,.82,2)
call CreateDestructableZ('YTfb',2528,-3360,-104,270,1,0)
call CreateDestructableZ('YTfb',2528,-3296,-72,270,1,0)
call CreateDestructableZ('YTfb',2528,-3424,-120,270,1,0)
call CreateDestructableZ('YTfb',2784,-3104,-104,270,1,0)
call CreateDestructableZ('YTfb',2848,-2976,-32,270,1,0)
call CreateDestructableZ('YTfb',2784,-3168,-120,270,1,0)
call CreateDestructableZ('YTfb',2912,-2976,-32,270,1,0)
call CreateDestructableZ('YTfb',2784,-3040,-72,270,1,0)
call CreateDestructable('YTfb',2912,-2912,270,1,0)
call CreateDestructable('YTfc',3008,-2752,270,1,0)
call CreateDestructable('YTfb',2912,-2848,270,1,0)
call CreateDestructable('YTfb',2912,-2784,270,1,0)
call CreateDestructable('YTfb',2912,-2720,270,1,0)
call CreateDestructable('YTfb',2912,-2656,270,1,0)
call CreateDestructable('YTfb',2912,-2592,270,1,0)
call CreateDestructable('YTfb',2912,-2464,270,1,0)
call CreateDestructable('YTfb',2848,-2784,270,1,0)
call CreateDestructable('YTfb',2848,-2848,270,1,0)
call CreateDestructable('YTfb',2848,-2912,270,1,0)
call CreateDestructableZ('YTfb',2976,-2016,-32,270,1,0)
call CreateDestructable('YTfb',2912,-2016,270,1,0)
call CreateDestructable('YTfb',2912,-2208,270,1,0)
call CreateDestructable('YTfb',2848,-2336,270,1,0)
call CreateDestructable('YTfb',2848,-2464,270,1,0)
call CreateDestructable('YTfb',2912,-2400,270,1,0)
call CreateDestructable('YTfb',2976,-2400,270,1,0)
call CreateDestructable('YTfb',2848,-2400,270,1,0)
call CreateDestructableZ('YTfb',2976,-2144,-32,270,1,0)
call CreateDestructableZ('YTfb',2976,-1696,-32,270,1,0)
call CreateDestructable('YTfb',2848,-1760,270,1,0)
call CreateDestructable('YTfb',2784,-1952,270,1,0)
call CreateDestructable('YTfb',2848,-1824,270,1,0)
call CreateDestructable('YTfb',2784,-2016,270,1,0)
call CreateDestructable('YTfb',2720,-2208,270,1,0)
call CreateDestructable('YTfb',2720,-2272,270,1,0)
call CreateDestructable('YTfb',2912,-1504,270,1,0)
call CreateDestructableZ('YTfb',2976,-1184,-8,270,1,0)
call CreateDestructableZ('YTfb',2976,-1248,-24,270,1,0)
call CreateDestructableZ('YTfb',3040,-1248,-72,270,1,0)
call CreateDestructableZ('YTfb',3168,-1056,-98.44,270,1,0)
call CreateDestructableZ('YTfb',3104,-1248,-114.56,270,1,0)
call CreateDestructableZ('YTfb',3040,-1632,-96,270,1,0)
call CreateDestructableZ('YTfb',3104,-1632,-126.83,270,1,0)
call CreateDestructableZ('YTfb',3040,-2016,-96,270,1,0)
call CreateDestructableZ('YTfb',3040,-2144,-96,270,1,0)
call CreateDestructable('YTfc',6528,-11584,270,1,0)
call CreateDestructable('YTfc',6656,-11584,270,1,0)
call CreateDestructable('YTfc',6656,-11456,270,1,0)
call CreateDestructable('YTfc',6656,-11328,270,1,0)
call CreateDestructable('YTfc',6656,-11200,270,1,0)
call CreateDestructable('YTfc',6656,-11072,270,1,0)
call CreateDestructable('YTfc',6656,-10944,270,1,0)
call CreateDestructable('YTfc',6656,-10816,270,1,0)
call CreateDestructable('YTfc',6656,-10688,270,1,0)
call CreateDestructable('YTfc',6656,-10560,270,1,0)
call CreateDestructable('YTfc',6656,-10432,270,1,0)
call CreateDestructable('YTfc',6528,-10496,270,1,0)
call CreateDestructable('YTfc',6400,-10496,270,1,0)
call CreateDestructable('YTfc',6272,-10496,270,1,0)
call CreateDestructable('YTfc',6144,-10496,270,1,0)
call CreateDestructable('YTfc',6016,-10496,270,1,0)
call CreateDestructable('YTfc',5888,-10496,270,1,0)
call CreateDestructable('YTfc',5760,-10496,270,1,0)
call CreateDestructable('YTfc',5760,-10624,270,1,0)
call CreateDestructable('YTfc',5760,-10752,270,1,0)
call CreateDestructable('YTfc',5760,-10880,270,1,0)
call CreateDestructable('YTfc',5760,-11008,270,1,0)
call CreateDestructable('YTfc',5760,-11136,270,1,0)
call CreateDestructable('YTfc',5760,-11264,270,1,0)
call CreateDestructable('YTfc',5760,-11392,270,1,0)
call CreateDestructable('YTfc',5760,-11520,270,1,0)
call CreateDestructable('YTfc',6400,-11584,270,1,0)
call CreateDestructable('YTfc',6272,-11584,270,1,0)
call CreateDestructable('YTfc',6144,-11584,270,1,0)
call CreateDestructable('YTfc',6016,-11584,270,1,0)
call CreateDestructable('YTfc',5888,-11584,270,1,0)
call CreateDestructable('YTfc',5632,-10880,270,1,0)
call CreateDestructable('YTfc',5632,-11008,270,1,0)
call CreateDestructable('YTfc',5632,-11136,270,1,0)
call CreateDestructable('YTfc',5504,-11072,270,1,0)
call CreateDestructable('YTfc',5504,-10944,270,1,0)
call CreateDestructable('YTfc',5504,-10816,270,1,0)
call CreateDestructable('YTfc',5376,-10752,270,1,0)
call CreateDestructable('YTfc',5376,-10880,270,1,0)
call CreateDestructable('YTfc',5376,-11008,270,1,0)
call CreateDestructable('YTfc',5376,-11136,270,1,0)
call CreateDestructable('YTfc',5248,-10688,270,1,0)
call CreateDestructable('YTfc',5248,-10816,270,1,0)
call CreateDestructable('YTfc',5248,-10944,270,1,0)
call CreateDestructable('YTfc',5248,-11072,270,1,0)
call CreateDestructable('YTfc',5248,-11200,270,1,0)
call CreateDestructable('YTfc',5120,-10688,270,1,0)
call CreateDestructable('YTfc',5120,-10816,270,1,0)
call CreateDestructable('YTfc',4992,-10688,270,1,0)
call CreateDestructable('YTfc',5120,-11072,270,1,0)
call CreateDestructable('YTfc',5120,-11264,270,1,0)
call CreateDestructable('YTfc',5120,-11392,270,1,0)
call CreateDestructable('YTfc',4992,-11136,270,1,0)
call CreateDestructable('YTfc',4992,-11264,270,1,0)
call CreateDestructable('YTfc',5760,-11648,270,1,0)
call CreateDestructable('YTfc',5632,-11648,270,1,0)
call CreateDestructable('YTfc',5760,-11776,270,1,0)
call CreateDestructable('YTfc',5888,-11712,270,1,0)
call CreateDestructable('YTfc',5632,-11776,270,1,0)
call CreateDestructable('YTfc',5888,-11840,270,1,0)
call CreateDestructable('YTfc',5760,-11904,270,1,0)
call CreateDestructable('YTfc',5632,-11904,270,1,0)
call CreateDestructable('YTfc',5504,-11648,270,1,0)
call CreateDestructable('YTfc',5504,-11776,270,1,0)
call CreateDestructable('YTfc',5504,-11904,270,1,0)
call CreateDestructable('YTfc',5632,-11520,270,1,0)
call CreateDestructable('YTfc',5632,-11392,270,1,0)
call CreateDestructable('YTfc',5632,-11264,270,1,0)
call CreateDestructable('YTfc',5376,-11712,270,1,0)
call CreateDestructable('YTfc',5376,-11840,270,1,0)
call CreateDestructable('YTfc',5888,-9984,270,1,0)
call CreateDestructable('YTfc',5248,-11840,270,1,0)
call CreateDestructable('YTfc',5120,-11840,270,1,0)
call CreateDestructable('YTfc',5632,-12032,270,1,0)
call CreateDestructable('YTfc',5760,-12032,270,1,0)
call CreateDestructable('YTfc',5696,-12160,270,1,0)
call CreateDestructable('YTfc',5824,-12160,270,1,0)
call CreateDestructable('YTfc',5824,-12288,270,1,0)
call CreateDestructable('YTfc',5888,-11968,270,1,0)
call CreateDestructable('YTfc',6016,-11712,270,1,0)
call CreateDestructable('YTfc',6400,-11712,270,1,0)
call CreateDestructable('YTfc',6400,-11840,270,1,0)
call CreateDestructable('YTfc',6400,-11968,270,1,0)
call CreateDestructable('YTfc',6656,-11712,270,1,0)
call CreateDestructable('YTfc',6784,-11712,270,1,0)
call CreateDestructable('YTfc',6656,-11840,270,1,0)
call CreateDestructable('YTfc',6784,-11840,270,1,0)
call CreateDestructable('YTfc',6656,-11968,270,1,0)
call CreateDestructable('YTfc',6784,-11968,270,1,0)
call CreateDestructable('YTfc',6848,-12096,270,1,0)
call CreateDestructable('YTfc',6720,-12096,270,1,0)
call CreateDestructable('YTfc',6784,-12224,270,1,0)
call CreateDestructable('YTfc',6912,-12224,270,1,0)
call CreateDestructable('YTfc',6848,-12352,270,1,0)
call CreateDestructable('YTfc',6976,-12352,270,1,0)
call CreateDestructable('YTfc',7040,-12480,270,1,0)
call CreateDestructable('YTfc',6784,-11264,270,1,0)
call CreateDestructable('YTfc',6784,-11136,270,1,0)
call CreateDestructable('YTfc',6784,-11008,270,1,0)
call CreateDestructable('YTfc',6784,-10880,270,1,0)
call CreateDestructable('YTfc',6912,-10944,270,1,0)
call CreateDestructable('YTfc',6912,-11072,270,1,0)
call CreateDestructable('YTfc',6912,-11200,270,1,0)
call CreateDestructable('YTfc',7040,-11008,270,1,0)
call CreateDestructable('YTfc',7040,-11264,270,1,0)
call CreateDestructable('YTfc',7168,-11264,270,1,0)
call CreateDestructable('YTfc',7168,-11136,270,1,0)
call CreateDestructable('YTfc',7168,-11008,270,1,0)
call CreateDestructable('YTfc',7296,-11072,270,1,0)
call CreateDestructable('YTfc',7360,-11200,270,1,0)
call CreateDestructable('YTfc',7552,-11264,270,1,0)
call CreateDestructable('YTfc',6784,-10752,270,1,0)
call CreateDestructable('YTfc',6784,-10624,270,1,0)
call CreateDestructable('YTfc',6784,-10496,270,1,0)
call CreateDestructable('YTfc',6784,-10368,270,1,0)
call CreateDestructable('YTfc',6912,-10560,270,1,0)
call CreateDestructable('YTfc',6912,-10432,270,1,0)
call CreateDestructable('YTfc',6912,-10304,270,1,0)
call CreateDestructable('YTfc',7040,-10432,270,1,0)
call CreateDestructable('YTfc',7040,-10304,270,1,0)
call CreateDestructable('YTfc',7168,-10368,270,1,0)
call CreateDestructable('YTfc',7168,-10240,270,1,0)
call CreateDestructable('YTfc',7296,-10304,270,1,0)
call CreateDestructable('YTfc',7296,-10176,270,1,0)
call CreateDestructableZ('YTfc',7424,-10176,2.37,270,1,0)
call CreateDestructable('YTfc',5888,-10368,270,1,0)
call CreateDestructable('YTfc',5760,-10368,270,1,0)
call CreateDestructable('YTfc',5632,-10432,270,1,0)
call CreateDestructable('YTfc',5504,-10432,270,1,0)
call CreateDestructable('YTfc',5632,-10560,270,1,0)
call CreateDestructable('YTfc',5888,-10240,270,1,0)
call CreateDestructable('YTfc',5760,-10240,270,1,0)
call CreateDestructable('YTfc',5632,-10304,270,1,0)
call CreateDestructable('YTfc',5504,-10304,270,1,0)
call CreateDestructable('YTfc',5376,-10304,270,1,0)
call CreateDestructable('YTfc',6016,-10112,270,1,0)
call CreateDestructable('YTfc',5888,-10112,270,1,0)
call CreateDestructable('YTfc',5760,-10112,270,1,0)
call CreateDestructable('YTfc',5632,-10176,270,1,0)
call CreateDestructable('YTfc',5504,-10176,270,1,0)
call CreateDestructable('YTfc',6016,-9984,270,1,0)
call CreateDestructable('YTfc',5248,-10176,270,1,0)
call CreateDestructable('YTfc',5312,-10048,270,1,0)
call CreateDestructable('YTfc',5376,-10176,270,1,0)
call CreateDestructable('YTfc',7040,-11136,270,1,0)
call CreateDestructableZ('YTfb',9696,-7520,220.97,270,1,0)
call CreateDestructableZ('YTfb',9696,-7584,217.02,270,1,0)
call CreateDestructableZ('YTfb',9632,-7328,367.03,270,1,0)
call CreateDestructableZ('YTfb',9632,-7264,393.55,270,1,0)
call CreateDestructableZ('YTfb',9696,-7840,292.95,270,1,0)
call CreateDestructableZ('YTfb',9696,-7904,312.86,270,1,0)
call CreateDestructableZ('YTfb',9632,-7904,287.58,270,1,0)
call CreateDestructableZ('YTfb',9632,-7968,261.87,270,1,0)
call CreateDestructableZ('YTfb',9696,-7968,301.5,270,1,0)
call CreateDestructableZ('YTfb',9632,-8032,220.75,270,1,0)
call CreateDestructableZ('YTfb',9888,-7008,235.36,270,1,0)
call CreateDestructableZ('YTfb',9824,-7008,295.73,270,1,0)
call CreateDestructableZ('YTfb',9952,-6880,182.25,270,1,0)
call CreateDestructableZ('YTfb',10016,-6880,115.55,270,1,0)
call CreateDestructableZ('YTfb',10080,-6880,45.39,270,1,0)
call CreateDestructableZ('YTfb',10080,-6944,46.91,270,1,0)
call CreateDestructableZ('YTfb',10080,-7008,42.47,270,1,0)
call CreateDestructableZ('YTfb',9760,-6944,339.86,270,1,0)
call CreateDestructableZ('YTfb',9696,-6944,354.08,270,1,0)
call CreateDestructableZ('YTfb',9824,-7200,204.17,270,1,0)
call CreateDestructableZ('YTfb',9632,-7008,420.33,270,1,0)
call CreateDestructableZ('YTfb',9632,-7072,445.16,270,1,0)
call CreateDestructableZ('B00A',-1184,-1056,98.33,270,1.15,0)
call CreateDestructable('B00A',6752,-9120,270,1.18,0)
call CreateDestructable('B00A',6560,-9632,270,1.05,1)
call CreateDestructable('B00A',6944,-9440,270,.98,1)
call CreateDestructable('B00A',6752,-9376,270,.97,2)
call CreateDestructable('B00A',6880,-9696,270,.85,0)
call CreateDestructable('B00A',6816,-9696,270,1.1,2)
call CreateDestructable('B00A',7200,-9120,270,1.03,2)
call CreateDestructableZ('B00A',7264,-9504,12.59,270,1.06,1)
call CreateDestructable('B00A',6624,-9888,270,1.16,0)
call CreateDestructable('B00A',4064,-9888,270,1.12,1)
call CreateDestructable('B00A',3808,-10016,270,.81,2)
call CreateDestructable('B00A',4000,-10144,270,1.01,1)
call CreateDestructable('B00A',3872,-10272,270,.99,1)
call CreateDestructable('B00A',4256,-10080,270,1.03,1)
call CreateDestructable('B00A',4320,-10336,270,.85,1)
call CreateDestructable('B00A',3488,-10016,270,.97,2)
call CreateDestructableZ('B00A',2016,-7520,11.86,270,1.03,0)
call CreateDestructableZ('B00A',2144,-7328,34.52,270,1.01,2)
call CreateDestructable('B00A',1888,-2464,270,1.1,1)
call CreateDestructable('B00A',1760,-2656,270,1.19,0)
call CreateDestructable('B00A',1696,-2400,270,1.18,2)
call CreateDestructable('B00A',2272,-2272,270,1.11,2)
call CreateDestructable('B00A',2144,-2144,270,.87,1)
call CreateDestructable('B00A',1632,-480,270,1.14,0)
call CreateDestructable('B00A',1440,-736,270,.8,1)
call CreateDestructable('B00A',1632,-800,270,1.15,2)
call CreateDestructable('B00A',2208,-1248,270,.81,0)
call CreateDestructable('B00A',2080,-1376,270,1.17,2)
call CreateDestructableZ('B00A',5280,864,-2.44,270,.97,1)
call CreateDestructable('B00A',5152,736,270,.82,2)
call CreateDestructableZ('B00A',8288,-2272,17.64,270,1.06,2)
call CreateDestructableZ('B00A',8160,-2272,55.5,270,.89,2)
call CreateDestructableZ('B00A',7968,-2400,18.67,270,.9,1)
call CreateDestructableZ('B00A',8224,-2528,70.02,270,1,2)
call CreateDestructableZ('B00A',7968,-2656,23.39,270,.87,1)
call CreateDestructableZ('B00A',10784,-4576,142.37,270,.86,0)
call CreateDestructableZ('B00A',10784,-5920,101.27,270,1.12,1)
call CreateDestructable('B00A',10656,-9568,270,1.11,0)
call CreateDestructable('B00A',10528,-9248,270,.93,0)
call CreateDestructableZ('B00A',10080,-11744,63.48,270,.87,1)
call CreateDestructableZ('B00A',10016,-11936,-1.83,270,1.01,1)
call CreateDestructableZ('B00A',9824,-12832,20.42,270,.94,1)
call CreateDestructableZ('B00A',9632,-13088,2.22,270,.95,2)
call CreateDestructableZ('B00A',9952,-14112,44.11,270,1.02,0)
call CreateDestructableZ('B00A',8608,-9312,351.11,270,1.04,1)
call CreateDestructableZ('B00A',8672,-8864,68.42,270,1.19,0)
call CreateDestructableZ('B00A',8800,-9312,328.37,270,.87,0)
call CreateDestructableZ('B00A',-928,-288,150.37,270,1.16,1)
call CreateDestructableZ('B00A',-800,-480,93.11,270,.93,0)
call CreateDestructableZ('YTfb',9504,-5024,154.34,270,1,0)
call CreateDestructableZ('YTfb',9504,-5088,174.53,270,1,0)
call CreateDestructableZ('YTfb',9504,-5152,188.75,270,1,0)
call CreateDestructableZ('YTfb',9376,-5088,177,270,1,0)
call CreateDestructableZ('YTfb',9440,-5088,181.75,270,1,0)
call CreateDestructableZ('YTfb',9376,-5024,169.5,270,1,0)
call CreateDestructableZ('YTfb',9504,-5216,197,270,1,0)
call CreateDestructableZ('YTfb',9376,-4832,119.36,270,1,0)
call CreateDestructableZ('YTfb',9312,-4832,116.41,270,1,0)
call CreateDestructableZ('YTfb',9184,-5024,132.34,270,1,0)
call CreateDestructableZ('YTfb',9184,-5088,122.03,270,1,0)
call CreateDestructableZ('YTfb',9312,-4576,66.55,270,1,0)
call CreateDestructable('YTfb',1248,-4448,270,1,0)
call CreateDestructable('YTfb',1184,-4448,270,1,0)
call CreateDestructable('YTfb',1120,-4448,270,1,0)
call CreateDestructable('YTfb',1120,-4512,270,1,0)
call CreateDestructable('YTfb',1248,-4384,270,1,0)
call CreateDestructable('YTfb',1248,-4320,270,1,0)
call CreateDestructable('YTfb',1312,-4512,270,1,0)
call CreateDestructableZ('YTfb',416,928,97.55,270,1,0)
call CreateDestructableZ('YTfb',416,992,88.77,270,1,0)
call CreateDestructableZ('YTfb',416,1056,70.3,270,1,0)
call CreateDestructableZ('YTfb',416,1120,42.14,270,1,0)
call CreateDestructableZ('YTfb',416,1440,8.14,270,1,0)
call CreateDestructableZ('YTfb',416,1504,13.17,270,1,0)
call CreateDestructableZ('YTfb',480,1504,4.27,270,1,0)
call CreateDestructableZ('YTfb',480,992,83.8,270,1,0)
call CreateDestructableZ('YTfb',480,1056,62.52,270,1,0)
call CreateDestructableZ('YTfb',480,1440,2.67,270,1,0)
call CreateDestructableZ('YTfb',480,1120,30.3,270,1,0)
call CreateDestructableZ('YTfb',480,1184,11.14,270,1,0)
call CreateDestructableZ('YTfb',480,1248,5.05,270,1,0)
call CreateDestructableZ('YTfb',480,1312,1.97,270,1,0)
call CreateDestructableZ('YTfb',480,1376,1.91,270,1,0)
call CreateDestructableZ('YTfb',416,864,105.94,270,1,0)
call CreateDestructableZ('YTfb',352,928,106.87,270,1,0)
call CreateDestructableZ('YTfb',288,928,122.12,270,1,0)
call CreateDestructableZ('YTfb',288,736,223.73,270,1,0)
call CreateDestructableZ('YTfb',288,672,241.83,270,1,0)
call CreateDestructableZ('YTfb',288,608,228.53,270,1,0)
call CreateDestructableZ('YTfb',352,672,171.61,270,1,0)
call CreateDestructableZ('YTfb',352,736,165.58,270,1,0)
call CreateDestructableZ('YTfb',352,608,160.84,270,1,0)
call CreateDestructableZ('YTfb',3488,-6368,-132.87,270,1,0)
call CreateDestructableZ('YTfb',3488,-6432,-99.66,270,1,0)
call CreateDestructableZ('YTfb',3552,-6368,-129.62,270,1,0)
call CreateDestructableZ('YTfb',3552,-6304,-129.62,270,1,0)
call CreateDestructableZ('YTfb',3616,-6368,-128,270,1,0)
call CreateDestructableZ('YTfb',3616,-6304,-128,270,1,0)
call CreateDestructableZ('YTfb',3360,-6304,-129.62,270,1,0)
call CreateDestructableZ('YTfb',3296,-6496,-56,270,1,0)
call CreateDestructable('YTfb',3552,-6560,270,1,0)
call CreateDestructableZ('YTfb',3616,-6560,-24,270,1,0)
call CreateDestructableZ('YTfb',3680,-6624,-24,270,1,0)
call CreateDestructable('YTfb',3680,-6688,270,1,0)
call CreateDestructable('YTfb',3488,-6752,270,1,0)
call CreateDestructable('YTfb',3488,-6688,270,1,0)
call CreateDestructable('YTfb',3488,-6624,270,1,0)
call CreateDestructable('YTfb',3488,-6816,270,1,0)
call CreateDestructable('YTfb',3360,-6624,270,1,0)
call CreateDestructable('YTfb',3424,-6752,270,1,0)
call CreateDestructable('YTfb',3424,-6688,270,1,0)
call CreateDestructable('YTfb',3424,-6624,270,1,0)
call CreateDestructableZ('YTfb',3168,-6624,-24.09,270,1,0)
call CreateDestructableZ('YTfb',3104,-6560,-24.09,270,1,0)
call CreateDestructableZ('YTfb',2912,-6368,-.06,270,1,0)
call CreateDestructableZ('CTtc',1504,-17312,128,270,1.15,1)
call CreateDestructableZ('CTtc',1696,-17568,128,270,.8,2)
call CreateDestructableZ('CTtc',1760,-17312,128,270,.92,1)
call CreateDestructableZ('CTtc',2016,-17568,128,270,1.19,1)
call CreateDestructableZ('CTtc',1568,-17760,128,270,1.15,1)
call CreateDestructableZ('CTtc',1824,-17888,128,270,1.17,1)
call CreateDestructableZ('CTtc',2016,-17888,128,270,1.06,2)
call CreateDestructableZ('CTtc',2208,-17888,128,270,1.1,0)
call CreateDestructableZ('CTtc',1568,-17440,128,270,1.06,1)
call CreateDestructableZ('CTtc',1952,-17248,128,270,1.15,0)
call CreateDestructableZ('CTtc',2336,-17248,128,270,1.04,0)
call CreateDestructableZ('CTtc',2272,-17632,128,270,1.02,1)
call CreateDestructableZ('CTtc',2336,-17696,128,270,.92,2)
call CreateDestructableZ('CTtc',2464,-17504,128,270,1.15,1)
call CreateDestructableZ('CTtc',2528,-17632,128,270,.8,2)
call CreateDestructableZ('CTtc',2592,-17312,128,270,.92,1)
call CreateDestructableZ('CTtc',2784,-17568,128,270,1.19,1)
call CreateDestructableZ('CTtc',2464,-17824,128,270,1.15,1)
call CreateDestructableZ('CTtc',2528,-17824,128,270,1.17,1)
call CreateDestructableZ('CTtc',2848,-17888,128,270,1.06,2)
call CreateDestructableZ('CTtc',3040,-17888,128,270,1.1,0)
call CreateDestructableZ('CTtc',3424,-17504,133.5,270,1.06,1)
call CreateDestructableZ('CTtc',2912,-17248,128,270,1.15,0)
call CreateDestructableZ('CTtc',3168,-17248,150,270,1.04,0)
call CreateDestructableZ('CTtc',3104,-17632,128,270,1.02,1)
call CreateDestructableZ('CTtc',3168,-17696,128,270,.92,2)
call CreateDestructableZ('CTtc',3296,-17440,144.5,270,1.15,1)
call CreateDestructableZ('CTtc',3424,-17632,128,270,.8,2)
call CreateDestructableZ('CTtc',3488,-17312,150,270,.92,1)
call CreateDestructableZ('CTtc',3680,-17568,128,270,1.19,1)
call CreateDestructableZ('CTtc',3360,-17824,128,270,1.15,1)
call CreateDestructableZ('CTtc',3424,-17824,128,270,1.17,1)
call CreateDestructableZ('CTtc',3744,-17888,128,270,1.06,2)
call CreateDestructableZ('CTtc',3936,-17888,128,270,1.1,0)
call CreateDestructableZ('CTtc',4192,-17440,150.86,270,1.06,1)
call CreateDestructableZ('CTtc',3808,-17248,150,270,1.15,0)
call CreateDestructableZ('CTtc',4064,-17248,150,270,1.04,0)
call CreateDestructableZ('CTtc',4000,-17632,127.94,270,1.02,1)
call CreateDestructableZ('CTtc',4064,-17696,127.81,270,.92,2)
call CreateDestructableZ('CTtc',4768,-17632,158.5,270,1.15,1)
call CreateDestructableZ('CTtc',4320,-17632,164.62,270,.8,2)
call CreateDestructableZ('CTtc',4384,-17312,166.87,270,.92,1)
call CreateDestructableZ('CTtc',4576,-17568,153,270,1.19,1)
call CreateDestructableZ('CTtc',4256,-17824,156.87,270,1.15,1)
call CreateDestructableZ('CTtc',4320,-17824,164.62,270,1.17,1)
call CreateDestructableZ('CTtc',4640,-17888,152.12,270,1.06,2)
call CreateDestructableZ('CTtc',4832,-17888,158.5,270,1.1,0)
call CreateDestructableZ('CTtc',5152,-17888,150,270,1.06,1)
call CreateDestructableZ('CTtc',4768,-17312,158.5,270,1.15,0)
call CreateDestructableZ('CTtc',4960,-17248,152.12,270,1.04,0)
call CreateDestructableZ('CTtc',4896,-17632,159.52,270,1.02,1)
call CreateDestructableZ('CTtc',4960,-17696,164.69,270,.92,2)
call CreateDestructableZ('CTtc',5088,-17440,150,270,1.15,1)
call CreateDestructableZ('CTtc',5152,-17568,150,270,.8,2)
call CreateDestructableZ('CTtc',5216,-17248,150,270,.92,1)
call CreateDestructableZ('CTtc',5408,-17504,150,270,1.19,1)
call CreateDestructableZ('CTtc',5088,-17760,154.19,270,1.15,1)
call CreateDestructableZ('CTtc',5152,-17760,150,270,1.17,1)
call CreateDestructableZ('CTtc',5472,-17824,150,270,1.06,2)
call CreateDestructableZ('CTtc',5664,-17824,150,270,1.1,0)
call CreateDestructableZ('CTtc',5600,-17248,150,270,1.06,1)
call CreateDestructableZ('CTtc',5920,-17376,150,270,1.15,0)
call CreateDestructableZ('CTtc',5792,-17184,150,270,1.04,0)
call CreateDestructableZ('CTtc',5600,-17504,150,270,1.02,1)
call CreateDestructableZ('CTtc',5792,-17632,150,270,.92,2)
call CreateDestructableZ('CTtc',6496,-17184,150,270,1.15,1)
call CreateDestructableZ('CTtc',6048,-17568,150,270,.8,2)
call CreateDestructableZ('CTtc',6112,-17248,150,270,.92,1)
call CreateDestructableZ('CTtc',6304,-17504,150,270,1.19,1)
call CreateDestructableZ('CTtc',5984,-17760,150,270,1.15,1)
call CreateDestructableZ('CTtc',5856,-17888,150,270,1.17,1)
call CreateDestructableZ('CTtc',6368,-17824,150,270,1.06,2)
call CreateDestructableZ('CTtc',6560,-17824,150,270,1.1,0)
call CreateDestructableZ('CTtc',6176,-17888,150,270,1.06,1)
call CreateDestructableZ('CTtc',-992,-17120,256,270,.82,2)
call CreateDestructableZ('CTtc',6688,-17184,144.5,270,1.04,0)
call CreateDestructableZ('CTtc',6624,-17568,150,270,1.02,1)
call CreateDestructableZ('CTtc',6688,-17632,144.5,270,.92,2)
call CreateDestructableZ('CTtc',6880,-17568,128,270,1.19,1)
call CreateDestructableZ('CTtc',736,-15840,256,270,1.2,2)
call CreateDestructableZ('CTtc',-608,-16992,256,270,.98,2)
call CreateDestructableZ('CTtc',-672,-17248,256,270,.82,2)
call CreateDestructableZ('CTtc',6880,-17120,128,270,1.15,0)
call CreateDestructableZ('CTtc',-928,-20384,256,270,1.1,0)
call CreateDestructableZ('CTtc',10016,-18016,256,270,1.06,1)
call CreateDestructableZ('CTtc',-1696,-18272,256,270,.96,1)
call CreateDestructableZ('CTtc',1504,-19936,128,270,1.15,1)
call CreateDestructableZ('CTtc',1696,-20192,128,270,.8,2)
call CreateDestructableZ('CTtc',1760,-19936,128,270,.92,1)
call CreateDestructableZ('CTtc',2016,-20192,128,270,1.19,1)
call CreateDestructableZ('CTtc',1568,-20384,128,270,1.15,1)
call CreateDestructableZ('CTtc',1824,-20512,128,270,1.17,1)
call CreateDestructableZ('CTtc',2016,-20512,128,270,1.06,2)
call CreateDestructableZ('CTtc',2208,-20512,128,270,1.1,0)
call CreateDestructableZ('CTtc',1568,-20064,128,270,1.06,1)
call CreateDestructableZ('CTtc',1952,-19872,128,270,1.15,0)
call CreateDestructableZ('CTtc',2336,-19872,128,270,1.04,0)
call CreateDestructableZ('CTtc',2272,-20256,128,270,1.02,1)
call CreateDestructableZ('CTtc',2336,-20320,128,270,.92,2)
call CreateDestructableZ('CTtc',2464,-20128,128,270,1.15,1)
call CreateDestructableZ('CTtc',2528,-20256,128,270,.8,2)
call CreateDestructableZ('CTtc',2592,-19936,128,270,.92,1)
call CreateDestructableZ('CTtc',2784,-20192,128,270,1.19,1)
call CreateDestructableZ('CTtc',2464,-20448,128,270,1.15,1)
call CreateDestructableZ('CTtc',2528,-20448,128,270,1.17,1)
call CreateDestructableZ('CTtc',2848,-20512,128,270,1.06,2)
call CreateDestructableZ('CTtc',3040,-20512,128,270,1.1,0)
call CreateDestructableZ('CTtc',3424,-20128,128,270,1.06,1)
call CreateDestructableZ('CTtc',2912,-19872,128,270,1.15,0)
call CreateDestructableZ('CTtc',3168,-19872,128,270,1.04,0)
call CreateDestructableZ('CTtc',3104,-20256,128,270,1.02,1)
call CreateDestructableZ('CTtc',3168,-20320,128,270,.92,2)
call CreateDestructableZ('CTtc',3296,-20064,128,270,1.15,1)
call CreateDestructableZ('CTtc',3424,-20256,128,270,.8,2)
call CreateDestructableZ('CTtc',3488,-19936,128,270,.92,1)
call CreateDestructableZ('CTtc',3680,-20192,128,270,1.19,1)
call CreateDestructableZ('CTtc',3360,-20448,128,270,1.15,1)
call CreateDestructableZ('CTtc',3424,-20448,128,270,1.17,1)
call CreateDestructableZ('CTtc',3744,-20512,128,270,1.06,2)
call CreateDestructableZ('CTtc',3936,-20512,128,270,1.1,0)
call CreateDestructableZ('CTtc',4192,-20064,146.69,270,1.06,1)
call CreateDestructableZ('CTtc',3808,-19872,128,270,1.15,0)
call CreateDestructableZ('CTtc',4064,-19872,127.81,270,1.04,0)
call CreateDestructableZ('CTtc',4000,-20256,127.94,270,1.02,1)
call CreateDestructableZ('CTtc',4064,-20320,127.81,270,.92,2)
call CreateDestructableZ('CTtc',4768,-20256,158.5,270,1.15,1)
call CreateDestructableZ('CTtc',4320,-20256,164.62,270,.8,2)
call CreateDestructableZ('CTtc',4384,-19936,166.87,270,.92,1)
call CreateDestructableZ('CTtc',4576,-20192,153,270,1.19,1)
call CreateDestructableZ('CTtc',4256,-20448,156.87,270,1.15,1)
call CreateDestructableZ('CTtc',4320,-20448,164.62,270,1.17,1)
call CreateDestructableZ('CTtc',4640,-20512,152.12,270,1.06,2)
call CreateDestructableZ('CTtc',4832,-20512,158.5,270,1.1,0)
call CreateDestructableZ('CTtc',5152,-20512,150,270,1.06,1)
call CreateDestructableZ('CTtc',4768,-19936,158.5,270,1.15,0)
call CreateDestructableZ('CTtc',4960,-19872,164.69,270,1.04,0)
call CreateDestructableZ('CTtc',4896,-20256,160.56,270,1.02,1)
call CreateDestructableZ('CTtc',4960,-20320,164.69,270,.92,2)
call CreateDestructableZ('CTtc',5088,-20064,154.19,270,1.15,1)
call CreateDestructableZ('CTtc',5152,-20192,150,270,.8,2)
call CreateDestructableZ('CTtc',5216,-19872,150,270,.92,1)
call CreateDestructableZ('CTtc',5408,-20128,150,270,1.19,1)
call CreateDestructableZ('CTtc',5088,-20384,154.19,270,1.15,1)
call CreateDestructableZ('CTtc',5152,-20384,150,270,1.17,1)
call CreateDestructableZ('CTtc',5472,-20448,150,270,1.06,2)
call CreateDestructableZ('CTtc',5664,-20448,150,270,1.1,0)
call CreateDestructableZ('CTtc',5600,-19872,150,270,1.06,1)
call CreateDestructableZ('CTtc',5920,-20000,150,270,1.15,0)
call CreateDestructableZ('CTtc',5792,-19808,150,270,1.04,0)
call CreateDestructableZ('CTtc',5600,-20128,150,270,1.02,1)
call CreateDestructableZ('CTtc',5792,-20256,150,270,.92,2)
call CreateDestructableZ('CTtc',6496,-19808,128,270,1.15,1)
call CreateDestructableZ('CTtc',6048,-20192,150,270,.8,2)
call CreateDestructableZ('CTtc',6112,-19872,150,270,.92,1)
call CreateDestructableZ('CTtc',6304,-20128,128,270,1.19,1)
call CreateDestructableZ('CTtc',5984,-20384,150,270,1.15,1)
call CreateDestructableZ('CTtc',5856,-20512,150,270,1.17,1)
call CreateDestructableZ('CTtc',6368,-20448,128,270,1.06,2)
call CreateDestructableZ('CTtc',6560,-20448,128,270,1.1,0)
call CreateDestructableZ('CTtc',6176,-20512,144.5,270,1.06,1)
call CreateDestructableZ('CTtc',672,-15392,256,270,.93,0)
call CreateDestructableZ('CTtc',6688,-19808,128,270,1.04,0)
call CreateDestructableZ('CTtc',6624,-20192,128,270,1.02,1)
call CreateDestructableZ('CTtc',6688,-20256,128,270,.92,2)
call CreateDestructableZ('CTtc',6880,-20192,128,270,1.19,1)
call CreateDestructableZ('CTtc',6944,-20512,128,270,1.06,2)
call CreateDestructableZ('CTtc',1056,-22176,256,270,1.05,2)
call CreateDestructableZ('CTtc',800,-15648,256,270,1.12,0)
call CreateDestructableZ('CTtc',1056,-15456,256,270,1.19,0)
call CreateDestructableZ('CTtc',928,-15584,256,270,.92,1)
call CreateDestructableZ('CTtc',1248,-22176,256,270,.89,0)
call CreateDestructableZ('CTtc',608,-15904,256,270,.81,0)
call CreateDestructableZ('CTtc',672,-15712,256,270,1.05,1)
call CreateDestructableZ('CTtc',7136,-22368,256,270,1.02,2)
call CreateDestructableZ('CTtc',2400,-22368,256,270,1.02,2)
call CreateDestructableZ('CTtc',2016,-22176,256,270,1.05,2)
call CreateDestructableZ('CTtc',2080,-22176,256,270,.89,0)
call CreateDestructableZ('CTtc',2208,-22240,256,270,.9,1)
call CreateDestructableZ('CTtc',6880,-19744,128,270,1.15,0)
call CreateDestructableZ('CTtc',2208,-22368,256,270,.89,2)
call CreateDestructableZ('CTtc',1824,-22176,256,270,1.18,0)
call CreateDestructableZ('CTtc',-544,-17120,256,270,.84,2)
call CreateDestructableZ('CTtc',-1824,-19040,256,270,.98,2)
call CreateDestructableZ('CTtc',-1440,-19936,256,270,1.04,2)
call CreateDestructableZ('CTtc',-1696,-19168,256,270,.85,1)
call CreateDestructableZ('CTtc',10208,-18080,256,270,.84,2)
call CreateDestructableZ('CTtc',-1888,-19168,256,270,1.07,1)
call CreateDestructableZ('CTtc',-1184,-17696,256,270,1.15,0)
call CreateDestructableZ('CTtc',6816,-17824,128,270,1.19,1)
call CreateDestructableZ('CTtc',10080,-18272,256,270,.92,2)
call CreateDestructableZ('CTtc',-1888,-18336,256,270,1.18,1)
call CreateDestructableZ('CTtc',10080,-18400,256,270,.95,0)
call CreateDestructableZ('CTtc',-1760,-18400,256,270,1,2)
call CreateDestructableZ('CTtc',-1888,-18592,256,270,1.14,0)
call CreateDestructableZ('CTtc',-1696,-18656,256,270,.89,1)
call CreateDestructableZ('CTtc',-1824,-18784,256,270,.98,0)
call CreateDestructableZ('CTtc',-1888,-18784,256,270,.81,0)
call CreateDestructableZ('CTtc',672,-15264,256,270,1.07,2)
call CreateDestructableZ('CTtc',864,-15136,256,270,1.18,0)
call CreateDestructableZ('CTtc',-1696,-18912,256,270,1.12,1)
call CreateDestructableZ('CTtc',864,-15328,256,270,.99,0)
call CreateDestructableZ('CTtc',1056,-15136,256,270,1.05,2)
call CreateDestructableZ('CTtc',1248,-15136,256,270,.89,0)
call CreateDestructableZ('CTtc',1184,-15328,256,270,1.13,1)
call CreateDestructableZ('CTtc',1376,-15200,256,270,.9,1)
call CreateDestructableZ('CTtc',1376,-15328,256,270,.89,2)
call CreateDestructableZ('CTtc',1568,-15200,256,270,1.02,0)
call CreateDestructableZ('CTtc',1632,-15264,256,270,1.07,2)
call CreateDestructableZ('CTtc',1824,-15136,256,270,1.18,0)
call CreateDestructableZ('CTtc',1568,-15328,256,270,1.02,2)
call CreateDestructableZ('CTtc',1824,-15328,256,270,.99,0)
call CreateDestructableZ('CTtc',2016,-15136,256,270,1.05,2)
call CreateDestructableZ('CTtc',2080,-15136,256,270,.89,0)
call CreateDestructableZ('CTtc',2016,-15328,256,270,1.13,1)
call CreateDestructableZ('CTtc',2208,-15200,256,270,.9,1)
call CreateDestructableZ('CTtc',2208,-15328,256,270,.89,2)
call CreateDestructableZ('CTtc',2400,-15200,256,270,1.02,0)
call CreateDestructableZ('CTtc',2464,-15264,256,270,1.07,2)
call CreateDestructableZ('CTtc',2656,-15136,256,270,1.18,0)
call CreateDestructableZ('CTtc',2400,-15328,256,270,1.02,2)
call CreateDestructableZ('CTtc',2656,-15328,256,270,.99,0)
call CreateDestructableZ('CTtc',2848,-15136,256,270,1.05,2)
call CreateDestructableZ('CTtc',3040,-15136,256,270,.89,0)
call CreateDestructableZ('CTtc',2976,-15328,256,270,1.13,1)
call CreateDestructableZ('CTtc',3168,-15200,256,270,.9,1)
call CreateDestructableZ('CTtc',3168,-15328,256,270,.89,2)
call CreateDestructableZ('CTtc',3360,-15200,261.5,270,1.02,0)
call CreateDestructableZ('CTtc',3424,-15264,272.5,270,1.07,2)
call CreateDestructableZ('CTtc',3616,-15136,278,270,1.18,0)
call CreateDestructableZ('CTtc',3360,-15328,261.5,270,1.02,2)
call CreateDestructableZ('CTtc',3616,-15328,278,270,.99,0)
call CreateDestructableZ('CTtc',3808,-15136,278,270,1.05,2)
call CreateDestructableZ('CTtc',3936,-15136,278,270,.89,0)
call CreateDestructableZ('CTtc',3872,-15328,278,270,1.13,1)
call CreateDestructableZ('CTtc',4064,-15200,278,270,.9,1)
call CreateDestructableZ('CTtc',4064,-15328,278,270,.89,2)
call CreateDestructableZ('CTtc',4256,-15200,278,270,1.02,0)
call CreateDestructableZ('CTtc',4320,-15264,278,270,1.07,2)
call CreateDestructableZ('CTtc',4512,-15136,278,270,1.18,0)
call CreateDestructableZ('CTtc',4256,-15328,278,270,1.02,2)
call CreateDestructableZ('CTtc',4512,-15328,278,270,.99,0)
call CreateDestructableZ('CTtc',4704,-15136,278,270,1.05,2)
call CreateDestructableZ('CTtc',4832,-15136,278,270,.89,0)
call CreateDestructableZ('CTtc',4768,-15328,278,270,1.13,1)
call CreateDestructableZ('CTtc',4960,-15200,278,270,.9,1)
call CreateDestructableZ('CTtc',4960,-15328,278,270,.89,2)
call CreateDestructableZ('CTtc',5152,-15200,278,270,1.02,0)
call CreateDestructableZ('CTtc',5216,-15264,278,270,1.07,2)
call CreateDestructableZ('CTtc',5408,-15136,278,270,1.18,0)
call CreateDestructableZ('CTtc',5152,-15328,278,270,1.02,2)
call CreateDestructableZ('CTtc',5408,-15328,278,270,.99,0)
call CreateDestructableZ('CTtc',5600,-15136,278,270,1.05,2)
call CreateDestructableZ('CTtc',5792,-15136,278,270,.89,0)
call CreateDestructableZ('CTtc',5728,-15328,278,270,1.13,1)
call CreateDestructableZ('CTtc',5920,-15200,278,270,.9,1)
call CreateDestructableZ('CTtc',5920,-15328,278,270,.89,2)
call CreateDestructableZ('CTtc',6112,-15200,278,270,1.02,0)
call CreateDestructableZ('CTtc',6176,-15264,278,270,1.07,2)
call CreateDestructableZ('CTtc',6368,-15136,278,270,1.18,0)
call CreateDestructableZ('CTtc',6112,-15328,278,270,1.02,2)
call CreateDestructableZ('CTtc',6368,-15328,278,270,.99,0)
call CreateDestructableZ('CTtc',6560,-15136,256,270,1.05,2)
call CreateDestructableZ('CTtc',6816,-15136,256,270,.89,0)
call CreateDestructableZ('CTtc',6752,-15328,256,270,1.13,1)
call CreateDestructableZ('CTtc',6944,-15200,256,270,.9,1)
call CreateDestructableZ('CTtc',6944,-15328,256,270,.89,2)
call CreateDestructableZ('CTtc',7136,-15200,256,270,1.02,0)
call CreateDestructableZ('CTtc',7200,-15264,256,270,1.07,2)
call CreateDestructableZ('CTtc',9888,-18144,256,270,.97,1)
call CreateDestructableZ('CTtc',7136,-15328,256,270,1.02,2)
call CreateDestructableZ('CTtc',7392,-15328,256,270,.99,0)
call CreateDestructableZ('CTtc',7456,-15648,256,270,1.05,2)
call CreateDestructableZ('CTtc',-480,-21088,256,270,.92,2)
call CreateDestructableZ('CTtc',-480,-20832,256,270,1.19,0)
call CreateDestructableZ('CTtc',96,-21408,256,270,.93,1)
call CreateDestructableZ('CTtc',-224,-21344,256,270,1.11,1)
call CreateDestructableZ('CTtc',-416,-16800,256,270,.97,0)
call CreateDestructableZ('CTtc',-480,-16928,256,270,.98,2)
call CreateDestructableZ('CTtc',-416,-16992,256,270,1.05,0)
call CreateDestructableZ('CTtc',-288,-16608,256,270,1.18,1)
call CreateDestructableZ('CTtc',6944,-22368,256,270,.89,2)
call CreateDestructableZ('CTtc',-928,-20704,256,270,.85,1)
call CreateDestructableZ('CTtc',-672,-20576,256,270,.85,0)
call CreateDestructableZ('CTtc',-608,-21024,256,270,.81,2)
call CreateDestructableZ('CTtc',-992,-20512,256,270,.92,0)
call CreateDestructableZ('CTtc',-288,-21088,256,270,1.18,2)
call CreateDestructableZ('CTtc',32,-21216,256,270,1,0)
call CreateDestructableZ('CTtc',-32,-21536,256,270,.98,2)
call CreateDestructableZ('CTtc',288,-21600,256,270,1.2,1)
call CreateDestructableZ('CTtc',288,-21920,256,270,.8,0)
call CreateDestructableZ('CTtc',10080,-19040,256,270,1.1,1)
call CreateDestructableZ('CTtc',-864,-20448,256,270,.8,2)
call CreateDestructableZ('CTtc',416,-21856,256,270,1.05,0)
call CreateDestructableZ('CTtc',-1504,-20128,256,270,.85,0)
call CreateDestructableZ('CTtc',480,-21856,256,270,1.07,1)
call CreateDestructableZ('CTtc',736,-21984,256,270,.97,1)
call CreateDestructableZ('CTtc',-1568,-17632,256,270,1.14,2)
call CreateDestructableZ('CTtc',-1376,-17888,256,270,.86,1)
call CreateDestructableZ('CTtc',-1568,-18016,256,270,1.03,2)
call CreateDestructableZ('CTtc',-1504,-19744,256,270,.85,0)
call CreateDestructableZ('CTtc',-1184,-20384,256,270,.9,0)
call CreateDestructableZ('CTtc',-1248,-20064,256,270,1.04,1)
call CreateDestructableZ('CTtc',480,-16096,256,270,1.14,2)
call CreateDestructableZ('CTtc',-1696,-19808,256,270,1.18,2)
call CreateDestructableZ('CTtc',-1824,-19744,256,270,.9,2)
call CreateDestructableZ('CTtc',10208,-18336,256,270,1.09,1)
call CreateDestructableZ('CTtc',480,-15840,256,270,1.09,1)
call CreateDestructableZ('CTtc',352,-16224,256,270,.88,0)
call CreateDestructableZ('CTtc',288,-16224,256,270,1.03,2)
call CreateDestructableZ('CTtc',96,-16160,256,270,.94,0)
call CreateDestructableZ('CTtc',288,-16096,256,270,1.16,0)
call CreateDestructableZ('CTtc',160,-16288,256,270,.81,2)
call CreateDestructableZ('CTtc',96,-16480,256,270,.97,1)
call CreateDestructableZ('CTtc',-32,-16480,256,270,.81,2)
call CreateDestructableZ('CTtc',-96,-16608,256,270,.88,1)
call CreateDestructableZ('CTtc',-800,-17120,256,270,.96,0)
call CreateDestructableZ('CTtc',-864,-17376,256,270,.98,2)
call CreateDestructableZ('CTtc',-1056,-17568,256,270,.95,1)
call CreateDestructableZ('CTtc',-1184,-17376,256,270,1.04,1)
call CreateDestructableZ('CTtc',-1184,-17504,256,270,.95,2)
call CreateDestructableZ('CTtc',-1312,-17760,256,270,1.13,2)
call CreateDestructableZ('CTtc',-1760,-17888,256,270,1.13,2)
call CreateDestructableZ('CTtc',-1504,-17760,256,270,.81,1)
call CreateDestructableZ('CTtc',-1120,-20128,256,270,1.13,0)
call CreateDestructableZ('CTtc',-1248,-20256,256,270,.94,1)
call CreateDestructableZ('CTtc',-736,-20832,256,270,1.19,2)
call CreateDestructableZ('CTtc',480,-22048,256,270,.9,1)
call CreateDestructableZ('CTtc',96,-21728,256,270,1,0)
call CreateDestructableZ('CTtc',608,-22240,256,270,1.02,0)
call CreateDestructableZ('CTtc',672,-22304,256,270,1.07,2)
call CreateDestructableZ('CTtc',864,-22176,256,270,1.18,0)
call CreateDestructableZ('CTtc',608,-22368,256,270,1.02,2)
call CreateDestructableZ('CTtc',992,-22368,256,270,.99,0)
call CreateDestructableZ('CTtc',-1824,-19424,256,270,.85,0)
call CreateDestructableZ('CTtc',-1696,-19552,256,270,1.13,1)
call CreateDestructableZ('CTtc',1184,-22368,256,270,1.13,1)
call CreateDestructableZ('CTtc',1376,-22240,256,270,.9,1)
call CreateDestructableZ('CTtc',-32,-16352,256,270,1.18,2)
call CreateDestructableZ('CTtc',-288,-16800,256,270,1.19,0)
call CreateDestructableZ('CTtc',1632,-22304,256,270,1.07,2)
call CreateDestructableZ('CTtc',-1248,-17696,256,270,1.14,0)
call CreateDestructableZ('CTtc',1568,-22368,256,270,1.02,2)
call CreateDestructableZ('CTtc',1824,-22368,256,270,.99,0)
call CreateDestructableZ('CTtc',-1888,-17952,256,270,.85,2)
call CreateDestructableZ('CTtc',-1760,-18144,256,270,.97,1)
call CreateDestructableZ('CTtc',2016,-22368,256,270,1.13,1)
call CreateDestructableZ('CTtc',10208,-19360,256,270,1.04,1)
call CreateDestructableZ('CTtc',10080,-19360,256,270,1.19,0)
call CreateDestructableZ('CTtc',2400,-22240,256,270,1.02,0)
call CreateDestructableZ('CTtc',1376,-22368,256,270,.89,2)
call CreateDestructableZ('CTtc',1568,-22240,256,270,1.02,0)
call CreateDestructableZ('CTtc',-928,-17440,256,270,1.16,2)
call CreateDestructableZ('CTtc',2656,-22176,256,270,1.18,0)
call CreateDestructableZ('CTtc',2848,-22176,256,270,1.05,2)
call CreateDestructableZ('CTtc',3040,-22176,256,270,.89,0)
call CreateDestructableZ('CTtc',2464,-22304,256,270,1.07,2)
call CreateDestructableZ('CTtc',3168,-22240,256,270,.9,1)
call CreateDestructableZ('CTtc',2656,-22368,256,270,.99,0)
call CreateDestructableZ('CTtc',3360,-22240,256,270,1.02,0)
call CreateDestructableZ('CTtc',3424,-22304,256,270,1.07,2)
call CreateDestructableZ('CTtc',3616,-22176,256,270,1.18,0)
call CreateDestructableZ('CTtc',3360,-22368,256,270,1.02,2)
call CreateDestructableZ('B00A',4448,1312,-5.91,270,.82,0)
call CreateDestructableZ('B00A',4256,992,.22,270,.82,0)
endfunction
function config takes nothing returns nothing
call SetMapName("|cffffff00★★伏魔战记★★(3.9J版)")
call SetMapDescription("|cffffffcc2009年伏魔战记，魔兽RPG地图历史上首个完美实现任意野兽成为座骑功能的地图！\n作者：Sunness\n网站：Sunness.com\n邮箱：Sunness@21cn.com|r")
call SetPlayers(9)
call SetTeams(9)
call SetGamePlacement(MAP_PLACEMENT_TEAMS_TOGETHER)
call DefineStartLocation(0,-512.,-18944.)
call DefineStartLocation(1,-512.,-18944.)
call DefineStartLocation(2,-512.,-18944.)
call DefineStartLocation(3,-512.,-18944.)
call DefineStartLocation(4,-512.,-18944.)
call DefineStartLocation(5,-512.,-18944.)
call DefineStartLocation(6,-512.,-18944.)
call DefineStartLocation(7,-512.,-18944.)
call DefineStartLocation(8,-512.,-18944.)
call InitCustomPlayerSlots()
call InitCustomTeams()
call InitAllyPriorities()
endfunction